Skip to content

Commit a81264f

Browse files
AlexWaygoodestyxx
authored andcommitted
pythongh-119562: Remove unused private string constants from ast.py (python#119576)
1 parent 4b9f326 commit a81264f

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

Lib/ast.py

Lines changed: 0 additions & 9 deletions
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)