https://github.com/python/cpython/commit/0220663e26aa2a5322df092078c5a16cddcc5cf4
commit: 0220663e26aa2a5322df092078c5a16cddcc5cf4
branch: main
author: Alex Waygood <[email protected]>
committer: AlexWaygood <[email protected]>
date: 2024-05-26T13:31:02Z
summary:

gh-119562: Remove unused private string constants from `ast.py` (#119576)

files:
M Lib/ast.py

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."""
 

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to