diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-01-17 10:59:35 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-17 10:59:35 (GMT) |
commit | 5e52778b1a2a86fe89578b957b1898d165a350fe (patch) | |
tree | 06a085f49c28f9526cfabc58116d669403d54fd6 | |
parent | 31b82abb5c545f1e0b2ebba5fa28281c2c298173 (diff) | |
download | cpython-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.rst | 2 |
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` |