[issue39199] Improve the AST documentation
Serhiy Storchaka
report at bugs.python.org
Sat Mar 7 04:17:47 EST 2020
Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:
Would not be better to use mode='eval' for expression nodes?
>>> print(ast.dump(ast.parse('123', mode='eval'), indent=4))
Expression(
body=Constant(value=123, kind=None))
----------
nosy: +serhiy.storchaka
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39199>
_______________________________________
More information about the Python-bugs-list
mailing list