[Python-checkins] bpo-38250: add version added for FlagBoundary (GH-25820)
willingc
webhook-mailer at python.org
Fri May 14 02:00:00 EDT 2021
https://github.com/python/cpython/commit/65d180d98348289db1592e8dd2cc6af4225573ea
commit: 65d180d98348289db1592e8dd2cc6af4225573ea
branch: main
author: Shantanu <12621235+hauntsaninja at users.noreply.github.com>
committer: willingc <carolcode at willingconsulting.com>
date: 2021-05-13T22:59:53-07:00
summary:
bpo-38250: add version added for FlagBoundary (GH-25820)
* bpo-38250: add version added for FlagBoundary
* Also add versionadded for utilities
Co-authored-by: hauntsaninja <>
files:
M Doc/library/enum.rst
diff --git a/Doc/library/enum.rst b/Doc/library/enum.rst
index 466d95941468af..b755622afc3680 100644
--- a/Doc/library/enum.rst
+++ b/Doc/library/enum.rst
@@ -575,6 +575,8 @@ Data Types
>>> KeepFlag(2**2 + 2**4)
KeepFlag.BLUE|0x10
+.. versionadded:: 3.10 ``FlagBoundary``
+
Utilites and Decorators
-----------------------
@@ -598,6 +600,7 @@ Utilites and Decorators
also injects the members, and their aliases, into the the global namespace
they were defined in.
+.. versionadded:: 3.10
.. decorator:: property
@@ -610,6 +613,8 @@ Utilites and Decorators
*Enum* class, and *Enum* subclasses can define members with the
names ``value`` and ``name``.
+.. versionadded:: 3.10
+
.. decorator:: unique
A :keyword:`class` decorator specifically for enumerations. It searches an
More information about the Python-checkins
mailing list