diff options
author | Barry Warsaw <barry@python.org> | 1997-11-29 00:10:07 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 1997-11-29 00:10:07 (GMT) |
commit | f577c0868366c26dae26b7a04833f431a5c49b2e (patch) | |
tree | 7209c85bc9112991ab1e3e4c15c517e5de6c6374 /Doc | |
parent | ffbc17da1925257c3a336129d5a681b0775da057 (diff) | |
download | cpython-f577c0868366c26dae26b7a04833f431a5c49b2e.zip cpython-f577c0868366c26dae26b7a04833f431a5c49b2e.tar.gz cpython-f577c0868366c26dae26b7a04833f431a5c49b2e.tar.bz2 |
mymemreplace(), strop_replace(): Add support for optional 4th argument
maxsplit which is implemented in string.py but wasn't here. The
reference manual doesn't define what happens when maxsplit is negative
or larger than the number of occurrences, but in either case, I
implemented this as all get replaced. Default value is zero which
replaces all occurrences.
Diffstat (limited to 'Doc')
0 files changed, 0 insertions, 0 deletions