Skip to content

Commit

Permalink
Marc-Andre Lemburg:
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
gvanrossum committed Apr 11, 2000
1 parent f0b7b04 commit 004d64f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Include/unicodeobject.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 004d64f

Please sign in to comment.