berkerpeksag / astor

Python AST read/write
https://pypi.org/project/astor/
BSD 3-Clause "New" or "Revised" License
793 stars 101 forks source link

Uneeded triplequotes added in round trip #197

Open Tadaboody opened 3 years ago

Tadaboody commented 3 years ago
Python 3.9.1 (default, Feb  3 2021, 07:04:15) 
[Clang 12.0.0 (clang-1200.0.32.29)] on darwin
...
>>> astor.__version__
'0.8.1'
>>> astor.to_source(ast.parse('",".join(i for i in range(10))'))
'""",""".join(i for i in range(10))\n'