https://github.com/python/cpython/commit/108ff59c8f7f1acf75b2f202ad78f6d7ccf1bed1
commit: 108ff59c8f7f1acf75b2f202ad78f6d7ccf1bed1
branch: 3.12
author: Miss Islington (bot) <[email protected]>
committer: ethanfurman <[email protected]>
date: 2024-02-08T14:03:12-08:00
summary:

[3.12] gh-115106 docs: 'enum.Flag.__iter__()' did not exist prior to Python 
3.11 (GH-115107) (GH-115117)

change versionchanged to versionadded
(cherry picked from commit 3f71c416c085cfaed49ef325f70eb374a4966256)

Co-authored-by: Finite State Machine 
<[email protected]>

files:
M Doc/library/enum.rst

diff --git a/Doc/library/enum.rst b/Doc/library/enum.rst
index 72c8bb90e3fe8a..ae37b7359d6176 100644
--- a/Doc/library/enum.rst
+++ b/Doc/library/enum.rst
@@ -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):
 

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to