mirror of
https://github.com/python/cpython.git
synced 2025-11-02 11:08:57 +00:00
gh-94943: [Enum] improve repr() when inheriting from a dataclass (GH-99740)
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
This commit is contained in:
parent
5da5aa4c3e
commit
679efbb080
5 changed files with 102 additions and 4 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue