gh-115106 docs: 'enum.Flag.__iter__()' did not exist prior to Python 3.11 (GH-115107)

change versionchanged to versionadded
This commit is contained in:
Finite State Machine 2024-02-06 20:28:01 -05:00 committed by GitHub
parent 11ac6f5354
commit 3f71c416c0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 3 deletions

View File

@ -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):