How to format an AST parse

后端 未结 0 761
别那么骄傲
别那么骄傲 2021-01-15 06:29

I would like to format the following ast parse:

>>> import ast
>>> print(ast.dump(ast.parse(\'-a+b\')))
Module(body=[Expr(value=BinOp(left=U         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题