[Python-checkins] cpython: Fix keyword argument
raymond.hettinger
python-checkins at python.org
Tue Jul 3 09:16:06 CEST 2012
http://hg.python.org/cpython/rev/d7bed032520b
changeset: 77929:d7bed032520b
user: Raymond Hettinger <python at rcn.com>
date: Tue Jul 03 00:15:59 2012 -0700
summary:
Fix keyword argument
files:
Tools/scripts/highlight.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Tools/scripts/highlight.py b/Tools/scripts/highlight.py
--- a/Tools/scripts/highlight.py
+++ b/Tools/scripts/highlight.py
@@ -21,7 +21,7 @@
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 = ''
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list