Skip to content

Commit 3f71c41

Browse files
gh-115106 docs: 'enum.Flag.__iter__()' did not exist prior to Python 3.11 (GH-115107)
change versionchanged to versionadded
1 parent 11ac6f5 commit 3f71c41

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Doc/library/enum.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -534,9 +534,7 @@ Data Types
534534
>>> list(purple)
535535
[<Color.RED: 1>, <Color.BLUE: 4>]
536536

537-
.. versionchanged:: 3.11
538-
539-
Aliases are no longer returned during iteration.
537+
.. versionadded:: 3.11
540538

541539
.. method:: __len__(self):
542540

0 commit comments

Comments
 (0)