@@ -636,7 +636,7 @@ an incorrect member::
636
636
Before :class: `StrEnum `, ``Directions.NORTH `` would have been the :class: `tuple `
637
637
``('north',) ``.
638
638
639
- .. versionadded :: 3.10
639
+ .. versionadded :: 3.11
640
640
641
641
642
642
IntFlag
@@ -659,7 +659,7 @@ used.
659
659
details.
660
660
661
661
.. versionadded :: 3.6
662
- .. versionchanged :: 3.10
662
+ .. versionchanged :: 3.11
663
663
664
664
Sample :class: `IntFlag ` class::
665
665
@@ -696,7 +696,7 @@ It is also possible to name the combinations::
696
696
Named combinations are considered aliases. Aliases do not show up during
697
697
iteration, but can be returned from by-value lookups.
698
698
699
- .. versionchanged :: 3.10
699
+ .. versionchanged :: 3.11
700
700
701
701
Another important difference between :class: `IntFlag ` and :class: `Enum ` is that
702
702
if no flags are set (the value is 0), its boolean evaluation is :data: `False `::
@@ -728,7 +728,7 @@ be combined with them (but may lose :class:`IntFlag` membership::
728
728
>>> list(RW)
729
729
[Perm.R, Perm.W]
730
730
731
- .. versionadded :: 3.10
731
+ .. versionadded :: 3.11
732
732
733
733
734
734
Flag
@@ -789,7 +789,7 @@ value::
789
789
>>> list(purple)
790
790
[Color.RED, Color.BLUE]
791
791
792
- .. versionadded :: 3.10
792
+ .. versionadded :: 3.11
793
793
794
794
.. note ::
795
795
@@ -939,7 +939,7 @@ _Private__names
939
939
:ref: `Private names <private-name-mangling >` are not converted to enum members,
940
940
but remain normal attributes.
941
941
942
- .. versionchanged :: 3.10
942
+ .. versionchanged :: 3.11
943
943
944
944
945
945
``Enum `` member type
@@ -962,7 +962,6 @@ it will raise a :exc:`DeprecationWarning`::
962
962
<FieldTypes.size: 2>
963
963
964
964
.. versionchanged :: 3.5
965
- .. versionchanged :: 3.10
966
965
967
966
968
967
Creating members that are mixed with other data types
0 commit comments