FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

bpo-44559: [Enum] Correct `versionadded` to 3.11 for new features by Kaniee · Pull Request #27388 · python/cpython · GitHub

Repository navigation

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .rst  (1) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
12 changes: 6 additions & 6 deletions Doc/library/enum.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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

Back | FazBrowse Home | New Git URL