[Python-Dev] Proof of the pudding: str.partition()
tony@lownds.com
tony at lownds.com
Wed Aug 31 03:58:00 CEST 2005
> Actually no. When str.parition() doesn't find the separator, you get s,
> '', ''.
> Yours would produce '', '', s. On not found, you would need to use
> start==end==len(s).
>
You're right. Nevermind, then.
> I will say the same
> thing that I've said at least three times already (with a bit of an
> expansion):
>
Thanks for the re-re-emphasis.
-Tony
More information about the Python-Dev
mailing list