]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] 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:03:12 +0000 (23:03 +0100)
committerGitHub <noreply@github.com>
Thu, 8 Feb 2024 22:03:12 +0000 (14:03 -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 72c8bb90e3fe8aec6cfd2e99fdb2a239100941eb..ae37b7359d6176f849b258abd907d30e8d78460e 100644 (file)
@@ -520,9 +520,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):