mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Fix keyword argument
This commit is contained in:
parent
cf6eac4063
commit
ac5f8467b1
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue