[issue4115] split() method

Terry Scott report at bugs.python.org
Tue Oct 14 00:01:32 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>
<http://bugs.python.org/issue4115>
_______________________________________


More information about the Python-bugs-list mailing list