]> granicus.if.org Git - python/commit
Marc-Andre Lemburg: the maxsplit argument for split() and replace()
authorGuido van Rossum <guido@python.org>
Fri, 10 Mar 2000 23:22:10 +0000 (23:22 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 10 Mar 2000 23:22:10 +0000 (23:22 +0000)
commit8f0c5a774225adb71a02256be02a9fce0fd601a9
treec0f1c83b99191aeac0eb55b443f04fbc7e0dc84e
parent0612d8415540a881a38a3abfa5d86a23f488b230
Marc-Andre Lemburg: the maxsplit argument for split() and replace()
now defaults to -1, not to 0.  Passing an explicit zero doesn't split
or replace at all.
Lib/string.py