Small inconsistency between string.split and "".split

Batista, Facundo FBatista at uniFON.com.ar
Mon Sep 13 14:04:37 EDT 2004


[Erik Heneryd]

#- 2) You can get the same behavior from str.split() by using 
#- None as the 
#- separator (undocumented, I guess).

Worst: it's explicitly in other way:

	split([sep [,maxsplit]])

There, taken from the docs, say that "It's optional to include sep, and if
you include sep, you could also (optionally) include maxsplit".

.	Facundo



More information about the Python-list mailing list