mirror of https://github.com/python/cpython
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:
parent
11ac6f5354
commit
3f71c416c0
|
@ -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):
|
||||
|
||||
|
|
Loading…
Reference in New Issue