bpo-43162: [Enum] update docs, renable doc tests (GH-24487)

* update docs, renable doc tests
* make deprecation warning active for two releases
This commit is contained in:
Ethan Furman 2021-03-03 09:54:30 -08:00 committed by GitHub
parent 04f6fbb696
commit 44e580f448
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 9 deletions

View file

@ -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,
)