mirror of https://github.com/python/cpython.git
[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 3f71c416c0
)
Co-authored-by: Finite State Machine <38001514+finite-state-machine@users.noreply.github.com>
This commit is contained in:
parent
214ac16696
commit
21e3b31424
|
@ -493,9 +493,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