[New-bugs-announce] [issue4115] split() method

Terry Scott report at bugs.python.org
Tue Oct 14 00:01:31 CEST 2008

New submission from Terry Scott <tscott at fisher.unco.edu>:

x = "Four score  and seven"
x.split() => ["Four", "score", "and", "seven"] 
x.split(" ") => ["Four", "score", " ", "and", "seven"] 

Probably not a big deal but it seems that it should be consistent. One
of my students spotted it.

components: Windows
messages: 74701
nosy: terry.scott
severity: normal
status: open
title: split() method
type: behavior
versions: Python 2.5

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list