]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
GH-87002: fix caching documentation in `struct` module (#24164)
authorSandeep Subramanian <sandeepsubramanian94@gmail.com>
Sat, 31 Dec 2022 16:57:58 +0000 (22:27 +0530)
committerGitHub <noreply@github.com>
Sat, 31 Dec 2022 16:57:58 +0000 (22:27 +0530)
Doc/library/struct.rst

index 50d70731f7752334704604b03a437a082d3cc5a8..830ba69e294d8067ab4239834cdbca75cea06299 100644 (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: