From b80ff6866bf3ca428c72181e0ef70b1843192b24 Mon Sep 17 00:00:00 2001 From: Alex Waygood Date: Sun, 26 May 2024 13:42:47 +0100 Subject: [PATCH] Remove unused private string constants from `ast.py` --- Lib/ast.py | 9 --------- 1 file changed, 9 deletions(-) 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."""