summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>1997-11-29 00:10:07 (GMT)
committerBarry Warsaw <barry@python.org>1997-11-29 00:10:07 (GMT)
commitf577c0868366c26dae26b7a04833f431a5c49b2e (patch)
tree7209c85bc9112991ab1e3e4c15c517e5de6c6374 /Doc
parentffbc17da1925257c3a336129d5a681b0775da057 (diff)
downloadcpython-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