mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
gh-119562: Remove unused private string constants from ast.py (#119576)
This commit is contained in:
parent
70b07aa415
commit
0220663e26
1 changed files with 0 additions and 9 deletions
|
|
@ -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."""
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue