diff options
author | Fred Drake <fdrake@acm.org> | 1999-11-04 19:19:48 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1999-11-04 19:19:48 (GMT) |
commit | e4f13660f80d1324f066b32a6b54fce7d875635c (patch) | |
tree | fde32e28e2d992e08144584ca7ead5986f7e4d47 /Modules | |
parent | 1b6e463bd54f6e0236b256fe1b47857b778387a9 (diff) | |
download | cpython-e4f13660f80d1324f066b32a6b54fce7d875635c.zip cpython-e4f13660f80d1324f066b32a6b54fce7d875635c.tar.gz cpython-e4f13660f80d1324f066b32a6b54fce7d875635c.tar.bz2 |
split() docstring: Made signature and description for the first
parameter match. Error pointed out by François
Pinard <pinard@iro.umontreal.ca> on c.l.py.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/stropmodule.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/stropmodule.c b/Modules/stropmodule.c index 4b8a501..7a56e37 100644 --- a/Modules/stropmodule.c +++ b/Modules/stropmodule.c @@ -117,12 +117,12 @@ split_whitespace(s, len, maxsplit) static char splitfields__doc__[] = -"split(str [,sep [,maxsplit]]) -> list of strings\n\ -splitfields(str [,sep [,maxsplit]]) -> list of strings\n\ +"split(s [,sep [,maxsplit]]) -> list of strings\n\ +splitfields(s [,sep [,maxsplit]]) -> list of strings\n\ \n\ Return a list of the words in the string s, using sep as the\n\ delimiter string. If maxsplit is nonzero, splits into at most\n\ -maxsplit words If sep is not specified, any whitespace string\n\ +maxsplit words. If sep is not specified, any whitespace string\n\ is a separator. Maxsplit defaults to 0.\n\ \n\ (split and splitfields are synonymous)"; |