替代编译器.ast.getChildNodes

2024-03-29 13:27:26 发布

您现在位置:Python中文网/ 问答频道 /正文

从ast模块到方法,我可以使用其他方法吗

compiler.ast.getChildNodes()

我不想使用编译器包,因为它已被弃用,并且在以后的版本中不受支持。不过,我使用的是python2.7


Tags: 模块方法版本编译器compilerastgetchildnodes