Skip to content

Commit

Permalink
gh-115106 docs: 'enum.Flag.__iter__()' did not exist prior to Python …
Browse files Browse the repository at this point in the history
…3.11 (GH-115107)

change versionchanged to versionadded
  • Loading branch information
finite-state-machine authored Feb 7, 2024
1 parent 11ac6f5 commit 3f71c41
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Doc/library/enum.rst
Original file line number Diff line number Diff line change
Expand Up @@ -534,9 +534,7 @@ Data Types
>>> list(purple)
[<Color.RED: 1>, <Color.BLUE: 4>]

.. versionchanged:: 3.11

Aliases are no longer returned during iteration.
.. versionadded:: 3.11

.. method:: __len__(self):

Expand Down

0 comments on commit 3f71c41

Please sign in to comment.