From ba8a294a4998574e7707c5ac4478e9838cc7bc9e Mon Sep 17 00:00:00 2001 From: hauntsaninja <> Date: Sun, 2 May 2021 13:18:04 -0700 Subject: [PATCH 1/2] bpo-38250: add version added for FlagBoundary --- Doc/library/enum.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Doc/library/enum.rst b/Doc/library/enum.rst index b5f9c2f08b1873e..023d649dbdc2a6b 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 ----------------------- From cd4d1011d41ad637f32f49f9ee8ab763c26638e0 Mon Sep 17 00:00:00 2001 From: hauntsaninja <> Date: Sun, 2 May 2021 13:28:56 -0700 Subject: [PATCH 2/2] Also add versionadded for utilities --- Doc/library/enum.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Doc/library/enum.rst b/Doc/library/enum.rst index 023d649dbdc2a6b..1bd70791ef605e8 100644 --- a/Doc/library/enum.rst +++ b/Doc/library/enum.rst @@ -600,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 @@ -612,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