bpo-40360: Prepare to deprecate lib2to3. by gpshead · Pull Request #19645 · python/cpython · GitHub
Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions Doc/library/2to3.rst
6 changes: 5 additions & 1 deletion Lib/lib2to3/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
#empty
import warnings
warnings.warn(
"lib2to3 is pending deprecation for removal in Python 3.11 or 3.12.",
category=PendingDeprecationWarning)
del warnings