How can I get the next sibling of a node in a Python AST?

后端 未结 0 970
终归单人心
终归单人心 2021-01-05 16:50

I write flake8-simplify (PyPI, GitHub), a Flake8 plugin that finds code which can be simplified.

One pattern I want to find is this:



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