diff options
author | Raymond Hettinger <python@rcn.com> | 2012-07-03 07:15:59 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2012-07-03 07:15:59 (GMT) |
commit | ac5f8467b180671907b24537880eb00ad0bed103 (patch) | |
tree | 68f59b06bdecf0b2ddf095eac61fc8719fda378a /Tools | |
parent | cf6eac40639ef64fe07a83abd313dab06a45a1e1 (diff) | |
download | cpython-ac5f8467b180671907b24537880eb00ad0bed103.zip cpython-ac5f8467b180671907b24537880eb00ad0bed103.tar.gz cpython-ac5f8467b180671907b24537880eb00ad0bed103.tar.bz2 |
Fix keyword argument
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/scripts/highlight.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/scripts/highlight.py b/Tools/scripts/highlight.py index 85ce091..a0d3d45 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 = '' |