8000 [3.12] gh-101100: Add a table of class attributes to the "Custom classes" section of the data model docs (#124480) by AlexWaygood · Pull Request #124558 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

[3.12] gh-101100: Add a table of class attributes to the "Custom classes" section of the data model docs (#124480) #124558

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

Merged
merged 3 commits into from
Sep 25, 2024
Merged
Changes from 1 commit
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
Prev Previous commit
fix doctest
  • Loading branch information
AlexWaygood authored Sep 25, 2024
commit 42508fa1d78c1c8ef7bc0b5b9b6e4def94c567da
2 changes: 1 addition & 1 deletion Doc/reference/datamodel.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1041,7 +1041,7 @@ have the following two methods available:
.. doctest::

>>> int.__subclasses__()
[<class 'bool'>, <enum 'IntEnum'>, <flag 'IntFlag'>, <class 're._constants._NamedIntConstant'>, <class 're._ZeroSentinel'>]
[<class 'bool'>, <enum 'IntEnum'>, <flag 'IntFlag'>, <class 're._constants._NamedIntConstant'>]

Class instances
---------------
Expand Down
Loading
0