Skip to content

Commit 95311c9

Browse files
cxzhonguser202729
andauthored
Update src/sage/misc/sageinspect.py
Co-authored-by: user202729 <[email protected]>
1 parent b1834be commit 95311c9

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/sage/misc/sageinspect.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -755,11 +755,6 @@ def visit_Constant(self, node):
755755
"""
756756
Visit a Python AST :class:`ast.Constant` node.
757757
758-
Note: While :class:`ast.Constant` was introduced in Python 3.8, the legacy node types
759-
(:class:`ast.Num`, :class:`ast.Str`, :class:`ast.NameConstant`, etc.) continued to be
760-
generated for backward compatibility until Python 3.14. Only from Python 3.14 onwards
761-
are all constants represented as :class:`ast.Constant` nodes.
762-
763758
INPUT:
764759
765760
- ``node`` -- the node instance to visit

0 commit comments

Comments
 (0)