Skip to content

Commit 21e3b31

Browse files
[3.11] gh-115106 docs: 'enum.Flag.__iter__()' did not exist prior to Python 3.11 (GH-115107) (GH-115118)
change versionchanged to versionadded (cherry picked from commit 3f71c41) Co-authored-by: Finite State Machine <38001514+finite-state-machine@users.noreply.github.com>
1 parent 214ac16 commit 21e3b31

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
@@ -493,9 +493,7 @@ Data Types
493493
>>> list(purple)
494494
[<Color.RED: 1>, <Color.BLUE: 4>]
495495

496-
.. versionchanged:: 3.11
497-
498-
Aliases are no longer returned during iteration.
496+
.. versionadded:: 3.11
499497

500498
.. method:: __len__(self):
501499

0 commit comments

Comments
 (0)