]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix the roundtripping function.
authorGuido van Rossum <guido@python.org>
Fri, 9 Feb 2007 22:43:10 +0000 (22:43 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 9 Feb 2007 22:43:10 +0000 (22:43 +0000)
Lib/test/test_tokenize.py

index 138ed740ffa47d4614d334f1c500d1400b5999c8..d6c37775f0e4452bbabfed658361ade3a9fa9cea 100644 (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):