From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 17 Jan 2023 10:59:35 +0000 (-0800) Subject: Fix typo in `ReprEnum` documentation (GH-101079) X-Git-Tag: v3.11.2~56 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5e52778b1a2a86fe89578b957b1898d165a350fe;p=thirdparty%2FPython%2Fcpython.git Fix typo in `ReprEnum` documentation (GH-101079) (cherry picked from commit c5660ae96f2ab5732c68c301ce9a63009f432d93) Co-authored-by: Viicos <65306057+Viicos@users.noreply.github.com> --- 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() ` of :class:`Enum`, + :class:`!ReprEnum` uses the :meth:`repr() ` of :class:`Enum`, but the :class:`str() ` of the mixed-in data type: * :meth:`!int.__str__` for :class:`IntEnum` and :class:`IntFlag`