From: Nikita Sobolev Date: Thu, 3 Feb 2022 15:22:41 +0000 (+0300) Subject: bpo-46569: [Enum] fix typo in `StrEnum` docs (GH-31007) X-Git-Tag: v3.11.0a5~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=734b1f119be6f0dcd6845c78a9e0a71d88a90b59;p=thirdparty%2FPython%2Fcpython.git bpo-46569: [Enum] fix typo in `StrEnum` docs (GH-31007) --- diff --git a/Doc/library/enum.rst b/Doc/library/enum.rst index a37c9d450624..672e256c77c0 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