]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-115106 docs: 'enum.Flag.__iter__()' did not exist prior to Python 3.11 (GH-115107)
authorFinite State Machine <38001514+finite-state-machine@users.noreply.github.com>
Wed, 7 Feb 2024 01:28:01 +0000 (20:28 -0500)
committerGitHub <noreply@github.com>
Wed, 7 Feb 2024 01:28:01 +0000 (17:28 -0800)
change versionchanged to versionadded

Doc/library/enum.rst

index f31e6ea848f3b2e5f61c2aeb51ca440fcc4f590d..534939943d33267df42dff5261219ae96a841488 100644 (file)
@@ -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):