string.split and re.split inconsistency
François Pinard
pinard at iro.umontreal.ca
Sat Sep 25 09:35:04 EDT 1999
hanwen at dokkum.cs.uu.nl (Han-Wen Nienhuys) writes:
> Is there any particular reason why string.split and re.split tke arguments
> in different order?
I've read something, somewhere, about this. I got that Guido was happy with
how `re' is specified, so correcting a choice for `string' that proven to
be less than ideal. However, `string' had to remain compatible with itself.
--
François Pinard http://www.iro.umontreal.ca/~pinard
More information about the Python-list
mailing list