commit | a59d3e6d507fe5dbe2583a23ab8f2cb631ebcafe | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Thu Aug 08 18:39:18 1996 +0000 |
committer | Guido van Rossum <guido@python.org> | Thu Aug 08 18:39:18 1996 +0000 |
tree | 88ac6fbd27bd3df797caa943b5a31193e0c88150 | |
parent | 37a6f16d2ec04facf3225e05972b42ed7ece1407 [diff] |
Changed split() to be compatible with changes to string.split(): the optional third argument gives a maximum number of delimiters to parse. The new function splitx() is like split() but returns a list containing the words as well as the delimiters.