summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSandeep Subramanian <sandeepsubramanian94@gmail.com>2022-12-31 16:57:58 (GMT)
committerGitHub <noreply@github.com>2022-12-31 16:57:58 (GMT)
commitac7a0a9f9e9a749ebcdd9d1ac21f73449d279958 (patch)
treeca37221e89f3d3ddd93568c0f6d3515a8b9c0fae
parent98308dbeb110198ebe28bdb7720d3671b3e7f57b (diff)
downloadcpython-ac7a0a9f9e9a749ebcdd9d1ac21f73449d279958.zip
cpython-ac7a0a9f9e9a749ebcdd9d1ac21f73449d279958.tar.gz
cpython-ac7a0a9f9e9a749ebcdd9d1ac21f73449d279958.tar.bz2
GH-87002: fix caching documentation in `struct` module (#24164)
-rw-r--r--Doc/library/struct.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/library/struct.rst b/Doc/library/struct.rst
index 50d7073..830ba69 100644
--- a/Doc/library/struct.rst
+++ b/Doc/library/struct.rst
@@ -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: