summaryrefslogtreecommitdiffstats
path: root/Lib/lib2to3
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2021-09-02 09:46:47 (GMT)
committerGitHub <noreply@github.com>2021-09-02 09:46:47 (GMT)
commitd589a7e7eb56196c05337d37417479375878b127 (patch)
tree3d78ca6fbd0b5e51a83509f911b53ae0b481aea8 /Lib/lib2to3
parent679cb4781ea370c3b3ce40d3334dc404d7e9d92b (diff)
downloadcpython-d589a7e7eb56196c05337d37417479375878b127.zip
cpython-d589a7e7eb56196c05337d37417479375878b127.tar.gz
cpython-d589a7e7eb56196c05337d37417479375878b127.tar.bz2
bpo-40360: Deprecate the lib2to3 package (GH-28116)
Diffstat (limited to 'Lib/lib2to3')
-rw-r--r--Lib/lib2to3/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/lib2to3/__init__.py b/Lib/lib2to3/__init__.py
index 4224dff..177405c 100644
--- a/Lib/lib2to3/__init__.py
+++ b/Lib/lib2to3/__init__.py
@@ -3,6 +3,6 @@ import warnings
warnings.warn(
"lib2to3 package is deprecated and may not be able to parse Python 3.10+",
- PendingDeprecationWarning,
+ DeprecationWarning,
stacklevel=2,
)