takluyver / astsearch

Intelligently search in Python code
https://astsearch.readthedocs.io/en/latest/
MIT License
67 stars 3 forks source link

Sort results in command line output #11

Open takluyver opened 3 years ago

takluyver commented 3 years ago

For non-trivial code, matches are not produced in the order they appear in the file (ast.walk() is documented as running 'in no specified order'). This makes it harder for a user to make sense of the output.