mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
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
1 changed files with 1 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue