Small inconsistency between string.split and "".split
Batista, Facundo
FBatista at uniFON.com.ar
Mon Sep 13 14:04:37 EDT 2004
More information about the Python-list mailing list
Mon Sep 13 14:04:37 EDT 2004
- Previous message (by thread): Small inconsistency between string.split and "".split
- Next message (by thread): Small inconsistency between string.split and "".split
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
[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
- Previous message (by thread): Small inconsistency between string.split and "".split
- Next message (by thread): Small inconsistency between string.split and "".split
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list