New submission from Neil Muller <[EMAIL PROTECTED]>: split with no sep specified will not return an empty string, whereas split with sep specified will.
The attached patch updates the docstring to reflect this for str.split and unicode.split. ---------- files: split_docstring.diff keywords: patch messages: 66536 nosy: Neil Muller severity: normal status: open title: string docstring doesn't mention that ' '.split() != ' '.split(' ') Added file: http://bugs.python.org/file10254/split_docstring.diff __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2809> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com