summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorEthan Furman <ethan@stoneleaf.us>2022-12-06 21:43:41 (GMT)
committerGitHub <noreply@github.com>2022-12-06 21:43:41 (GMT)
commit679efbb080242fc5be63ad873968f05faeef889f (patch)
treef3ffc6086b327221e39a732707e47e0eb91da3b8 /Doc/library
parent5da5aa4c3ebcddd1ccbea914f1768a863dc170f0 (diff)
downloadcpython-679efbb080242fc5be63ad873968f05faeef889f.zip
cpython-679efbb080242fc5be63ad873968f05faeef889f.tar.gz
cpython-679efbb080242fc5be63ad873968f05faeef889f.tar.bz2
gh-94943: [Enum] improve repr() when inheriting from a dataclass (GH-99740)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/enum.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/library/enum.rst b/Doc/library/enum.rst
index 208aecf..f887544 100644
--- a/Doc/library/enum.rst
+++ b/Doc/library/enum.rst
@@ -389,6 +389,8 @@ Data Types
Using :class:`auto` with :class:`Enum` results in integers of increasing value,
starting with ``1``.
+ .. versionchanged:: 3.12 Added :ref:`enum-dataclass-support`
+
.. class:: IntEnum