summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorViicos <65306057+Viicos@users.noreply.github.com>2023-01-17 10:51:56 (GMT)
committerGitHub <noreply@github.com>2023-01-17 10:51:56 (GMT)
commitc5660ae96f2ab5732c68c301ce9a63009f432d93 (patch)
treebe7d8dbaddd6b12581bde68f8b5da351a863ed70
parent1de4395f62bb140563761ef5cbdf46accef3c550 (diff)
downloadcpython-c5660ae96f2ab5732c68c301ce9a63009f432d93.zip
cpython-c5660ae96f2ab5732c68c301ce9a63009f432d93.tar.gz
cpython-c5660ae96f2ab5732c68c301ce9a63009f432d93.tar.bz2
Fix typo in `ReprEnum` documentation (#101079)
-rw-r--r--Doc/library/enum.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/enum.rst b/Doc/library/enum.rst
index 9d1a297..b9cc802 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`