summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-04-11 15:39:46 (GMT)
committerGuido van Rossum <guido@python.org>2000-04-11 15:39:46 (GMT)
commit004d64f362eb0bd0d3e2f257b2b7721fecba87af (patch)
tree2badcdd872cc5729105936d1207a58f527a2fe31 /Include
parentf0b7b04ae822439c33acbfb0ebbece30be663f74 (diff)
downloadcpython-004d64f362eb0bd0d3e2f257b2b7721fecba87af.zip
cpython-004d64f362eb0bd0d3e2f257b2b7721fecba87af.tar.gz
cpython-004d64f362eb0bd0d3e2f257b2b7721fecba87af.tar.bz2
Marc-Andre Lemburg:
Changed PyUnicode_Splitlines() maxsplit argument to keepends. The maxsplit functionality was replaced by the keepends functionality which allows keeping the line end markers together with the string.
Diffstat (limited to 'Include')
-rw-r--r--Include/unicodeobject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h
index 6d0435a..9c05010 100644
--- a/Include/unicodeobject.h
+++ b/Include/unicodeobject.h
@@ -674,7 +674,7 @@ extern DL_IMPORT(PyObject*) PyUnicode_Split(
extern DL_IMPORT(PyObject*) PyUnicode_Splitlines(
PyObject *s, /* String to split */
- int maxsplit /* Maxsplit count */
+ int keepends /* If true, line end markers are included */
);
/* Translate a string by applying a character mapping table to it and