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

2006年9月05日 09:47:32 -0700

> Jim Jewett wrote:
> >Why not just change which of the three strings holds the remainder in
> >the not-found case?
On 9/5/06, Raymond Hettinger <[EMAIL PROTECTED]> wrote:
> That was the only change submitted.
> Are you happy with what was checked-in?
This change looks wrong:
 PyDoc_STRVAR(rpartition__doc__,
-"S.rpartition(sep) -> (head, sep, tail)\n\
+"S.rpartition(sep) -> (tail, sep, head)\n\
It looks like the code itself does the right thing, but I wasn't quite
confident of that.
-jJ
_______________________________________________
Python-Dev mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to