From: Sandeep Subramanian Date: Sat, 31 Dec 2022 16:57:58 +0000 (+0530) Subject: GH-87002: fix caching documentation in `struct` module (#24164) X-Git-Tag: v3.12.0a4~87 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ac7a0a9f9e9a749ebcdd9d1ac21f73449d279958;p=thirdparty%2FPython%2Fcpython.git GH-87002: fix caching documentation in `struct` module (#24164) --- diff --git a/Doc/library/struct.rst b/Doc/library/struct.rst index 50d70731f775..830ba69e294d 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: