A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2006-September/068618.html below:

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

[Python-Dev] Fwd: Problem withthe API for str.rpartition() [Python-Dev] Fwd: Problem withthe API for str.rpartition()Jim Jewett jimjjewett at gmail.com
Tue Sep 5 18:47:26 CEST 2006
> 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 <rhettinger at ewtllc.com> 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
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4