mirror of https://github.com/python/cpython
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 <>
This commit is contained in:
parent
3d4b5f1019
commit
65d180d983
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue