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::
|
.. 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:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue