Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions 12 Doc/library/enum.rst
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ Module Contents


.. versionadded:: 3.6 ``Flag``, ``IntFlag``, ``auto``
.. versionadded:: 3.10 ``StrEnum``, ``EnumCheck``, ``FlagBoundary``
.. versionadded:: 3.11 ``StrEnum``, ``EnumCheck``, ``FlagBoundary``

---------------

Expand Down Expand Up @@ -584,7 +584,7 @@ Data Types

CONTINUOUS and NAMED_FLAGS are designed to work with integer-valued members.

.. versionadded:: 3.10
.. versionadded:: 3.11

.. class:: FlagBoundary

Expand Down Expand Up @@ -647,7 +647,7 @@ Data Types
>>> KeepFlag(2**2 + 2**4)
KeepFlag.BLUE|0x10

.. versionadded:: 3.10
.. versionadded:: 3.11

---------------

Expand All @@ -673,7 +673,7 @@ Utilites and Decorators
also injects the members, and their aliases, into the global namespace they
were defined in.

.. versionadded:: 3.10
.. versionadded:: 3.11

.. decorator:: property

Expand All @@ -686,7 +686,7 @@ Utilites and Decorators
*Enum* class, and *Enum* subclasses can define members with the
names ``value`` and ``name``.

.. versionadded:: 3.10
.. versionadded:: 3.11

.. decorator:: unique

Expand All @@ -712,7 +712,7 @@ Utilites and Decorators
:class:`EnumCheck` are used to specify which constraints should be checked
on the decorated enumeration.

.. versionadded:: 3.10
.. versionadded:: 3.11

---------------

Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.