summaryrefslogtreecommitdiffstats
path: root/Lib/enum.py
diff options
context:
space:
mode:
authorEthan Furman <ethan@stoneleaf.us>2021-03-03 17:54:30 (GMT)
committerGitHub <noreply@github.com>2021-03-03 17:54:30 (GMT)
commit44e580f448016b86807465a186d03d9074e2b589 (patch)
tree3fa55695ece25aac38893d2a38e05d0ff4386e98 /Lib/enum.py
parent04f6fbb6969e9860783b9ab4dc24b6fe3c6dab8d (diff)
downloadcpython-44e580f448016b86807465a186d03d9074e2b589.zip
cpython-44e580f448016b86807465a186d03d9074e2b589.tar.gz
cpython-44e580f448016b86807465a186d03d9074e2b589.tar.bz2
bpo-43162: [Enum] update docs, renable doc tests (GH-24487)
* update docs, renable doc tests * make deprecation warning active for two releases
Diffstat (limited to 'Lib/enum.py')
-rw-r--r--Lib/enum.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/enum.py b/Lib/enum.py
index 55299c5..84c7b0d 100644
--- a/Lib/enum.py
+++ b/Lib/enum.py
@@ -148,7 +148,7 @@ class property(DynamicClassAttribute):
import warnings
warnings.warn(
"accessing one member from another is not supported, "
- " and will be disabled in 3.11",
+ " and will be disabled in 3.12",
DeprecationWarning,
stacklevel=2,
)