summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-01-17 10:59:35 (GMT)
committerGitHub <noreply@github.com>2023-01-17 10:59:35 (GMT)
commit5e52778b1a2a86fe89578b957b1898d165a350fe (patch)
tree06a085f49c28f9526cfabc58116d669403d54fd6
parent31b82abb5c545f1e0b2ebba5fa28281c2c298173 (diff)
downloadcpython-5e52778b1a2a86fe89578b957b1898d165a350fe.zip
cpython-5e52778b1a2a86fe89578b957b1898d165a350fe.tar.gz
cpython-5e52778b1a2a86fe89578b957b1898d165a350fe.tar.bz2
Fix typo in `ReprEnum` documentation (GH-101079)
(cherry picked from commit c5660ae96f2ab5732c68c301ce9a63009f432d93) Co-authored-by: Viicos <65306057+Viicos@users.noreply.github.com>
-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 0768914..0456e74 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`