Skip to content

Commit 734b1f1

Browse files
authored
bpo-46569: [Enum] fix typo in StrEnum docs (GH-31007)
1 parent 6baa98e commit 734b1f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/enum.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ Data Types
420420

421421
.. note:: :meth:`__str__` is :func:`str.__str__` to better support the
422422
*replacement of existing constants* use-case. :meth:`__format__` is likewise
423-
:func:`int.__format__` for that same reason.
423+
:func:`str.__format__` for that same reason.
424424

425425
.. versionadded:: 3.11
426426

0 commit comments

Comments
 (0)