Skip to content

[3.10] GH-87002: fix caching documentation in struct module (GH-24164) #100644

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Doc/library/struct.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down