Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2f54fba

Browse files
authored
bpo-44559: [Enum] correct versionadded to 3.11 for new features (GH-27388)
1 parent 890e229 commit 2f54fba

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

Doc/library/enum.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ Module Contents
131131

132132

133133
.. versionadded:: 3.6 ``Flag``, ``IntFlag``, ``auto``
134-
.. versionadded:: 3.10 ``StrEnum``, ``EnumCheck``, ``FlagBoundary``
134+
.. versionadded:: 3.11 ``StrEnum``, ``EnumCheck``, ``FlagBoundary``
135135

136136
---------------
137137

@@ -584,7 +584,7 @@ Data Types
584584

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

587-
.. versionadded:: 3.10
587+
.. versionadded:: 3.11
588588

589589
.. class:: FlagBoundary
590590

@@ -647,7 +647,7 @@ Data Types
647647
>>> KeepFlag(2**2 + 2**4)
648648
KeepFlag.BLUE|0x10
649649

650-
.. versionadded:: 3.10
650+
.. versionadded:: 3.11
651651

652652
---------------
653653

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

676-
.. versionadded:: 3.10
676+
.. versionadded:: 3.11
677677

678678
.. decorator:: property
679679

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

689-
.. versionadded:: 3.10
689+
.. versionadded:: 3.11
690690

691691
.. decorator:: unique
692692

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

715-
.. versionadded:: 3.10
715+
.. versionadded:: 3.11
716716

717717
---------------
718718

0 commit comments

Comments
 (0)