diff options
author | Nikita Sobolev <mail@sobolevn.me> | 2022-02-03 15:22:41 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-03 15:22:41 (GMT) |
commit | 734b1f119be6f0dcd6845c78a9e0a71d88a90b59 (patch) | |
tree | 8675c63c2f83a6b40b7a3511eccbacc6e0a40a65 /Doc/library/enum.rst | |
parent | 6baa98e538b2e26f16eaaf462f99496e98d2cfb1 (diff) | |
download | cpython-734b1f119be6f0dcd6845c78a9e0a71d88a90b59.zip cpython-734b1f119be6f0dcd6845c78a9e0a71d88a90b59.tar.gz cpython-734b1f119be6f0dcd6845c78a9e0a71d88a90b59.tar.bz2 |
bpo-46569: [Enum] fix typo in `StrEnum` docs (GH-31007)
Diffstat (limited to 'Doc/library/enum.rst')
-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 a37c9d4..672e256 100644 --- a/Doc/library/enum.rst +++ b/Doc/library/enum.rst @@ -420,7 +420,7 @@ Data Types .. note:: :meth:`__str__` is :func:`str.__str__` to better support the *replacement of existing constants* use-case. :meth:`__format__` is likewise - :func:`int.__format__` for that same reason. + :func:`str.__format__` for that same reason. .. versionadded:: 3.11 |