How do I copy a python ast to a custom ast?

后端 未结 0 1493
别跟我提以往
别跟我提以往 2021-01-05 13:22

So lets say I have a simple tree that I get from tree = ast.parse("x+fn(x,y)")

so my tree would be

    cnode(type=sum)
      /           


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