GH-87002: fix caching documentation in `struct` module (#24164)

This commit is contained in:
Sandeep Subramanian 2022-12-31 22:27:58 +05:30 committed by GitHub
parent 98308dbeb1
commit ac7a0a9f9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -548,9 +548,9 @@ The :mod:`struct` module also defines the following type:
.. note:: .. note::
The compiled versions of the most recent format strings passed to The compiled versions of the most recent format strings passed to
:class:`Struct` and the module-level functions are cached, so programs the module-level functions are cached, so programs that use only a few
that use only a few format strings needn't worry about reusing a single format strings needn't worry about reusing a single :class:`Struct`
:class:`Struct` instance. instance.
Compiled Struct objects support the following methods and attributes: Compiled Struct objects support the following methods and attributes: