[Python-Dev] Fwd: Problem withthe API for str.rpartition() (original) (raw)
Fred L. Drake, Jr. fdrake at acm.org
Tue Sep 5 19:55:17 CEST 2006
- Previous message: [Python-Dev] Fwd: Problem withthe API for str.rpartition()
- Next message: [Python-Dev] Fwd: Problem withthe API for str.rpartition()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
- Previous message: [Python-Dev] Fwd: Problem withthe API for str.rpartition()
- Next message: [Python-Dev] Fwd: Problem withthe API for str.rpartition()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]