mirror of
https://github.com/python/cpython
synced 2024-09-16 03:29:57 +00:00
503de7149d
Deprecate lib2to3 module in light of PEP 617. We anticipate removal in the 3.12 timeframe.
9 lines
163 B
Python
9 lines
163 B
Python
import warnings
|
|
|
|
|
|
warnings.warn(
|
|
"lib2to3 package is deprecated and may not be able to parse Python 3.10+",
|
|
PendingDeprecationWarning,
|
|
stacklevel=2,
|
|
)
|