summaryrefslogtreecommitdiffstats
path: root/Lib/ast.py
diff options
context:
space:
mode:
authorAlex Waygood <Alex.Waygood@Gmail.com>2024-05-26 13:31:02 (GMT)
committerGitHub <noreply@github.com>2024-05-26 13:31:02 (GMT)
commit0220663e26aa2a5322df092078c5a16cddcc5cf4 (patch)
treed5307226f80b941923c039ed273451dbbd04528d /Lib/ast.py
parent70b07aa4153c1a914a3d69307d5b258cf7ed16ab (diff)
downloadcpython-0220663e26aa2a5322df092078c5a16cddcc5cf4.zip
cpython-0220663e26aa2a5322df092078c5a16cddcc5cf4.tar.gz
cpython-0220663e26aa2a5322df092078c5a16cddcc5cf4.tar.bz2
gh-119562: Remove unused private string constants from `ast.py` (#119576)
Diffstat (limited to 'Lib/ast.py')
-rw-r--r--Lib/ast.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/Lib/ast.py b/Lib/ast.py
index c5d495e..bc6c334 100644
--- a/Lib/ast.py
+++ b/Lib/ast.py
@@ -567,15 +567,6 @@ class NodeTransformer(NodeVisitor):
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."""