mirror of https://github.com/python/cpython
GH-87002: fix caching documentation in `struct` module (#24164)
This commit is contained in:
parent
98308dbeb1
commit
ac7a0a9f9e
|
@ -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:
|
||||
|
||||
|
|
Loading…
Reference in New Issue