Fix keyword argument

This commit is contained in:
Raymond Hettinger 2012-07-03 00:15:59 -07:00
parent cf6eac4063
commit ac5f8467b1

View File

@ -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 = ''