summaryrefslogtreecommitdiffstatshomepage
path: root/tests/basics/string_rsplit.py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2017-06-02 13:07:22 +1000
committerDamien George <damien.p.george@gmail.com>2017-06-02 13:07:22 +1000
commit9f85c4fe488a8f123348786448f534263dc003e1 (patch)
tree7c7bb79b6f13946fb2af4e6e9209402dae8c5c7f /tests/basics/string_rsplit.py
parentab954ed5136af8be910b3c3fb9246bad6289a3a4 (diff)
downloadmicropython-9f85c4fe488a8f123348786448f534263dc003e1.tar.gz
micropython-9f85c4fe488a8f123348786448f534263dc003e1.zip
py/objstr: Catch case of negative "maxsplit" arg to str.rsplit().
Negative values mean no limit on the number of splits so should delegate to the .split() method.
Diffstat (limited to 'tests/basics/string_rsplit.py')
0 files changed, 0 insertions, 0 deletions