summaryrefslogtreecommitdiffstats
path: root/Lib/lib2to3
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/lib2to3')
-rw-r--r--Lib/lib2to3/__init__.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/Lib/lib2to3/__init__.py b/Lib/lib2to3/__init__.py
index ea30561..4224dff 100644
--- a/Lib/lib2to3/__init__.py
+++ b/Lib/lib2to3/__init__.py
@@ -1 +1,8 @@
-#empty
+import warnings
+
+
+warnings.warn(
+ "lib2to3 package is deprecated and may not be able to parse Python 3.10+",
+ PendingDeprecationWarning,
+ stacklevel=2,
+)