Skip to content

Commit 0220663

Browse files
authored
gh-119562: Remove unused private string constants from ast.py (#119576)
1 parent 70b07aa commit 0220663

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

Lib/ast.py

-9
Original file line numberDiff line numberDiff line change
@@ -567,15 +567,6 @@ def generic_visit(self, node):
567567
setattr(node, field, new_node)
568568
return node
569569

570-
571-
_DEPRECATED_VALUE_ALIAS_MESSAGE = (
572-
"{name} is deprecated and will be removed in Python {remove}; use value instead"
573-
)
574-
_DEPRECATED_CLASS_MESSAGE = (
575-
"{name} is deprecated and will be removed in Python {remove}; "
576-
"use ast.Constant instead"
577-
)
578-
579570
class slice(AST):
580571
"""Deprecated AST node class."""
581572

0 commit comments

Comments
 (0)