GH-87002: fix caching documentation in `struct` module (#24164)
https://github.com/python/cpython/commit/ac7a0a9f9e9a749ebcdd9d1ac21f73449d2... commit: ac7a0a9f9e9a749ebcdd9d1ac21f73449d279958 branch: main author: Sandeep Subramanian <sandeepsubramanian94@gmail.com> committer: kumaraditya303 <59607654+kumaraditya303@users.noreply.github.com> date: 2022-12-31T22: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:
participants (1)
-
kumaraditya303