[Python-checkins] Fix typo in `ReprEnum` documentation (#101079)

kumaraditya303 webhook-mailer at python.org
Tue Jan 17 05:52:07 EST 2023


https://github.com/python/cpython/commit/c5660ae96f2ab5732c68c301ce9a63009f432d93
commit: c5660ae96f2ab5732c68c301ce9a63009f432d93
branch: main
author: Viicos <65306057+Viicos at users.noreply.github.com>
committer: kumaraditya303 <59607654+kumaraditya303 at users.noreply.github.com>
date: 2023-01-17T16:21:56+05:30
summary:

Fix typo in `ReprEnum` documentation (#101079)

files:
M Doc/library/enum.rst

diff --git a/Doc/library/enum.rst b/Doc/library/enum.rst
index 9d1a297a903a..b9cc802e752e 100644
--- a/Doc/library/enum.rst
+++ b/Doc/library/enum.rst
@@ -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`



More information about the Python-checkins mailing list