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

Neil Muller report at bugs.python.org
Sat May 10 17:48:14 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>

More information about the New-bugs-announce mailing list