[issue2809] string docstring doesn't mention that ' '.split() != ' '.split(' ')

Neil Muller report at bugs.python.org
Sat May 10 17:48:15 CEST 2008


New submission from Neil Muller <drnlmuller+bugs at gmail.com>:

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 <report at bugs.python.org>
<http://bugs.python.org/issue2809>
__________________________________


More information about the Python-bugs-list mailing list