diff options
author | Victor Stinner <vstinner@python.org> | 2021-09-02 09:46:47 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-02 09:46:47 (GMT) |
commit | d589a7e7eb56196c05337d37417479375878b127 (patch) | |
tree | 3d78ca6fbd0b5e51a83509f911b53ae0b481aea8 /Lib/lib2to3 | |
parent | 679cb4781ea370c3b3ce40d3334dc404d7e9d92b (diff) | |
download | cpython-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__.py | 2 |
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, ) |