From 734b1f119be6f0dcd6845c78a9e0a71d88a90b59 Mon Sep 17 00:00:00 2001 From: Nikita Sobolev Date: Thu, 3 Feb 2022 18:22:41 +0300 Subject: bpo-46569: [Enum] fix typo in `StrEnum` docs (GH-31007) --- Doc/library/enum.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v0.12