We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c835b97 commit 3cd39e9Copy full SHA for 3cd39e9
Doc/library/enum.rst
@@ -434,7 +434,7 @@ Data Types
434
435
.. note:: There are places in the stdlib that check for an exact :class:`str`
436
instead of a :class:`str` subclass (i.e. ``type(unknown) == str``
437
- instead of ``isinstance(str, unknown)``), and in those locations you
+ instead of ``isinstance(unknown, str)``), and in those locations you
438
will need to use ``str(StrEnum.member)``.
439
440
.. note::
0 commit comments