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::
The compiled versions of the most recent format strings passed to
:class:`Struct` and the module-level functions are cached, so programs
that use only a few format strings needn't worry about reusing a single
:class:`Struct` instance.
the module-level functions are cached, so programs that use only a few
format strings needn't worry about reusing a single :class:`Struct`
instance.
Compiled Struct objects support the following methods and attributes: