Skip to content
Merged
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
Fix typo in ReprEnum documentation (GH-101079)
(cherry picked from commit c5660ae)

Co-authored-by: Viicos <65306057+Viicos@users.noreply.github.com>
  • Loading branch information
Viicos authored and miss-islington committed Jan 17, 2023
commit 1f91eb48e1d1026fceb663c609f09724485bd66b
2 changes: 1 addition & 1 deletion Doc/library/enum.rst
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,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`
Expand Down