[Python-Dev] Fwd: Problem withthe API for str.rpartition()

Fred L. Drake, Jr. fdrake at acm.org
Tue Sep 5 19:55:17 CEST 2006


On Tuesday 05 September 2006 13:46, Raymond Hettinger wrote:
 > Changing to left/sep/right will certainly disambiguate questions about

left/right is definately not helpful.  It's also ambiguous in the case 
of .rpartition(), where left and right in the input and result are different.

 > the ordering of the return tuple.  OTOH, there is some small loss in
 > that the head/tail terminology is highly suggestive of how to use the
 > function when making succesive partitions.

See my previous note in this thread for another suggestion.


  -Fred

-- 
Fred L. Drake, Jr.   <fdrake at acm.org>


More information about the Python-Dev mailing list