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

miss-islington webhook-mailer at python.org
Tue Jan 17 05:59:41 EST 2023


https://github.com/python/cpython/commit/5e52778b1a2a86fe89578b957b1898d165a350fe
commit: 5e52778b1a2a86fe89578b957b1898d165a350fe
branch: 3.11
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2023-01-17T02:59:35-08:00
summary:

Fix typo in `ReprEnum` documentation (GH-101079)

(cherry picked from commit c5660ae96f2ab5732c68c301ce9a63009f432d93)

Co-authored-by: Viicos <65306057+Viicos at users.noreply.github.com>

files:
M Doc/library/enum.rst

diff --git a/Doc/library/enum.rst b/Doc/library/enum.rst
index 0768914c2a9e..0456e74748c3 100644
--- a/Doc/library/enum.rst
+++ b/Doc/library/enum.rst
@@ -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`



More information about the Python-checkins mailing list