]> granicus.if.org Git - python/commit
Add optional third parameter to split() and splitfields(), giving the
authorGuido van Rossum <guido@python.org>
Thu, 8 Aug 1996 18:40:59 +0000 (18:40 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 8 Aug 1996 18:40:59 +0000 (18:40 +0000)
commit306a8a633800f2f37d054fbf48a3e0628faf3073
tree4d7650f6580397e1a6efdb218c76b4348c57a519
parenta59d3e6d507fe5dbe2583a23ab8f2cb631ebcafe
Add optional third parameter to split() and splitfields(), giving the
maximum number of delimiters to parse; e.g.
splitfields("a,b,c,d", ",", 2) -> ["a", "b", "c,d"].
Lib/string.py
Lib/stringold.py