]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] gh-115106 docs: 'enum.Flag.__iter__()' did not exist prior to Python 3.11...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 8 Feb 2024 22:02:45 +0000 (23:02 +0100)
committerGitHub <noreply@github.com>
Thu, 8 Feb 2024 22:02:45 +0000 (14:02 -0800)
change versionchanged to versionadded
(cherry picked from commit 3f71c416c085cfaed49ef325f70eb374a4966256)

Co-authored-by: Finite State Machine <38001514+finite-state-machine@users.noreply.github.com>
Doc/library/enum.rst

index deabc44ac25f0fca7414d77b16d78df419f1b932..fd34fcd52637aae53c7c32c0dd395ee07f2bd7c1 100644 (file)
@@ -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):