mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
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,
|
|
)
|