3 ms·
There's redbaron, which provides a full syntax tree, and is designed for making such changes: https://github.com/PyCQA/redbaron https://github.com/PyCQA/redbaro
by icebraining 10y ago
There's redbaron, which provides a full syntax tree, and is designed for making such changes: https://github.com/PyCQA/redbaron https://github.com/PyCQA/redbaron