From 0220663e26aa2a5322df092078c5a16cddcc5cf4 Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Sun, 26 May 2024 14:31:02 +0100 Subject: gh-119562: Remove unused private string constants from `ast.py` (#119576) --- Lib/ast.py | 9 --------- 1 file changed, 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.""" -- cgit v0.12