[Python-checkins] GH-87002: fix caching documentation in `struct` module (#24164)

kumaraditya303 webhook-mailer at python.org
Sat Dec 31 11:58:04 EST 2022


https://github.com/python/cpython/commit/ac7a0a9f9e9a749ebcdd9d1ac21f73449d279958
commit: ac7a0a9f9e9a749ebcdd9d1ac21f73449d279958
branch: main
author: Sandeep Subramanian <sandeepsubramanian94 at gmail.com>
committer: kumaraditya303 <59607654+kumaraditya303 at users.noreply.github.com>
date: 2022年12月31日T22:27:58+05:30
summary:
GH-87002: fix caching documentation in `struct` module (#24164)
files:
M Doc/library/struct.rst
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:
 


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /