diff --git a/Lib/ast.py b/Lib/ast.py index c5d495ea1c8000..bc6c3347787d61 100644 --- a/Lib/ast.py +++ b/Lib/ast.py @@ -567,15 +567,6 @@ def generic_visit(self, node): 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."""