Closed vfoltsgt closed 2 years ago
Have "test.py" python file:
class TestIndent: """\\ """
Parse it:
import asts with open("test.py") as f: text = f.read() ast = asts.AST.from_string(text, language=asts.ASTLanguage.Python) with open("test.parsed.py", "w") as f: f.write(ast.source_text)
The resulting "test.parsed.py" will have invalid indentation:
Moving to the internal issue tracker; thanks for the report!
Have "test.py" python file:
Parse it:
The resulting "test.parsed.py" will have invalid indentation: