string.split and re.split inconsistency
Han-Wen Nienhuys
hanwen at dokkum.cs.uu.nl
Sat Sep 25 08:26:47 EDT 1999
Is there any particular reason why string.split and re.split tke
arguments in different order? I think it is confusing, and would
prefer to have it fixed (although I realise that a backwards
compatible fix is hard)
libre has split(pattern, string) and libstring has split(string, sep)
--
Han-Wen Nienhuys, hanwen at cs.uu.nl ** GNU LilyPond - The Music Typesetter
http://www.cs.uu.nl/people/hanwen/lilypond/index.html
More information about the Python-list
mailing list