]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-46569: [Enum] fix typo in `StrEnum` docs (GH-31007)
authorNikita Sobolev <mail@sobolevn.me>
Thu, 3 Feb 2022 15:22:41 +0000 (18:22 +0300)
committerGitHub <noreply@github.com>
Thu, 3 Feb 2022 15:22:41 +0000 (07:22 -0800)
Doc/library/enum.rst

index a37c9d4506241f92893c1e1761e6f8ff3fa5733f..672e256c77c0d7dfe12ca5296a2529706064cc07 100644 (file)
@@ -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