Fix the roundtripping function.

This commit is contained in:
Guido van Rossum 2007-02-09 22:43:10 +00:00
parent 9b8850439c
commit 0bcbb0d4d4
1 changed files with 1 additions and 1 deletions

View File

@ -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):