diff options
author | Alex Waygood <Alex.Waygood@Gmail.com> | 2024-05-26 13:31:02 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-26 13:31:02 (GMT) |
commit | 0220663e26aa2a5322df092078c5a16cddcc5cf4 (patch) | |
tree | d5307226f80b941923c039ed273451dbbd04528d /Lib/ast.py | |
parent | 70b07aa4153c1a914a3d69307d5b258cf7ed16ab (diff) | |
download | cpython-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.py | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -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.""" |