From: Raymond Hettinger Date: Tue, 3 Jul 2012 07:15:59 +0000 (-0700) Subject: Fix keyword argument X-Git-Tag: v3.3.0b2~330 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ac5f8467b180671907b24537880eb00ad0bed103;p=python Fix keyword argument --- diff --git a/Tools/scripts/highlight.py b/Tools/scripts/highlight.py index 85ce0919a2..a0d3d45162 100755 --- a/Tools/scripts/highlight.py +++ b/Tools/scripts/highlight.py @@ -21,7 +21,7 @@ def escape_range(lines, start, end): def colorize(source): 'Convert Python source code to an HTML fragment with colorized markup' - lines = source.splitlines(keepends=True) + lines = source.splitlines(True) lines.append('') readline = functools.partial(next, iter(lines), '') kind = tok_str = ''