eryksun added the comment: The result of str.split and str.rsplit can differ depending on the optional 2nd parameter, maxsplit:
>>> 'a b c'.split(None, 1) ['a', 'b c'] >>> 'a b c'.rsplit(None, 1) ['a b', 'c'] https://docs.python.org/2/library/stdtypes.html#str.rsplit ---------- nosy: +eryksun _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23355> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com