mirror of
https://github.com/python/cpython.git
synced 2024-12-03 23:06:43 +08:00
Fix keyword argument
This commit is contained in:
parent
cf6eac4063
commit
ac5f8467b1
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user