Skip to content

Commit

Permalink
pythongh-119562: Remove unused private string constants from ast.py (
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexWaygood authored May 26, 2024
1 parent 70b07aa commit 0220663
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions Lib/ast.py
Original file line number Diff line number Diff line change
Expand Up @@ -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."""

Expand Down

0 comments on commit 0220663

Please sign in to comment.