Phillip J. Eby wrote: >>both split on a given token. partition splits once, and returns all three >>parts, while piece returns the part you ask for > > No, because looking at that URL, there is no piece that is the token split > on. partition() always returns 3 parts for 1 occurrence of the token, > whereas $PIECE only has 2.
so "absolutely nothing in common" has now turned into "does the same thing but doesn't return the value you passed to it" ? sorry for wasting my time. </F> _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com