summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/ast.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/Lib/ast.py b/Lib/ast.py
index c5d495e..bc6c334 100644
--- a/Lib/ast.py
+++ b/Lib/ast.py
@@ -567,15 +567,6 @@ class NodeTransformer(NodeVisitor):
setattr(node, field, new_node)
return node
-
-_DEPRECATED_VALUE_ALIAS_MESSAGE = (
- "{name} is deprecated and will be removed in Python {remove}; use value instead"
-)
-_DEPRECATED_CLASS_MESSAGE = (
- "{name} is deprecated and will be removed in Python {remove}; "
- "use ast.Constant instead"
-)
-
class slice(AST):
"""Deprecated AST node class."""