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 8d57423 commit 47b7ca7Copy full SHA for 47b7ca7
Doc/library/enum.rst
@@ -427,7 +427,7 @@ Data Types
427
428
.. note:: There are places in the stdlib that check for an exact :class:`str`
429
instead of a :class:`str` subclass (i.e. ``type(unknown) == str``
430
- instead of ``isinstance(str, unknown)``), and in those locations you
+ instead of ``isinstance(unknown, str)``), and in those locations you
431
will need to use ``str(StrEnum.member)``.
432
433
.. note::
0 commit comments