mirror of https://github.com/python/cpython
bpo-46569: [Enum] fix typo in `StrEnum` docs (GH-31007)
This commit is contained in:
parent
6baa98e538
commit
734b1f119b
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue