mirror of https://github.com/python/cpython
unparse.py: Typo fix.
This commit is contained in:
parent
fa2e4e9d04
commit
3d1bfbf9a6
|
@ -549,7 +549,7 @@ class Unparser:
|
||||||
|
|
||||||
def roundtrip(filename, output=sys.stdout):
|
def roundtrip(filename, output=sys.stdout):
|
||||||
source = open(filename).read()
|
source = open(filename).read()
|
||||||
tree = compile(source, filename, "exec", _ast.PyCF_ONLY_AST)
|
tree = compile(source, filename, "exec", ast.PyCF_ONLY_AST)
|
||||||
Unparser(tree, output)
|
Unparser(tree, output)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue