mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Fix typo in ReprEnum
documentation (#101079)
This commit is contained in:
parent
1de4395f62
commit
c5660ae96f
1 changed files with 1 additions and 1 deletions
|
@ -617,7 +617,7 @@ Data Types
|
|||
|
||||
.. class:: ReprEnum
|
||||
|
||||
:class:`!ReprEum` uses the :meth:`repr() <Enum.__repr__>` of :class:`Enum`,
|
||||
:class:`!ReprEnum` uses the :meth:`repr() <Enum.__repr__>` of :class:`Enum`,
|
||||
but the :class:`str() <str>` of the mixed-in data type:
|
||||
|
||||
* :meth:`!int.__str__` for :class:`IntEnum` and :class:`IntFlag`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue