Commit 0bcbb0d4 authored by Guido van Rossum's avatar Guido van Rossum

Fix the roundtripping function.

parent 9b885043
......@@ -123,7 +123,7 @@ def dump_tokens(s):
def roundtrip(s):
f = StringIO(s)
source = untokenize(generate_tokens(f.readline))
print(source, end=' ')
print(source, end="")
# This is an example from the docs, set up as a doctest.
def decistmt(s):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment