This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: str.rpartition(sep) -> (tail, sep, head)
Type: behavior Stage: resolved
Components: Documentation Versions: Python 3.1, Python 3.2, Python 2.7, Python 2.6
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: ezio.melotti Nosy List: cjw296, ezio.melotti, georg.brandl, july, kaizhu
Priority: normal Keywords: patch

Created on 2010-01-25 04:04 by kaizhu, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
rpartition-docstrings-trunk.diff july, 2010-01-25 09:19
rpartition-docstrings-py3k.diff july, 2010-01-25 09:19
Messages (4)
msg98267 - (view) Author: Chris Withers (cjw296) * (Python committer) Date: 2010-01-25 06:54
Can you please provide information about the actual problem you're reporting?
msg98273 - (view) Author: kai zhu (kaizhu) Date: 2010-01-25 08:06
documentation bug
should be changed to:

"S.rpartition(sep) -> (head, sep, tail)"



>>> help(str.rpartition)
Help on method_descriptor:

rpartition(...)
    S.rpartition(sep) -> (tail, sep, head)

    Search for the separator sep in S, starting at the end of S, and return
    the part before it, the separator itself, and the part after it.  If the
    separator is not found, return two empty strings and S.
msg98274 - (view) Author: July Tikhonov (july) * Date: 2010-01-25 09:19
Not only str, but also bytearray, unicode, and bytes.
msg98281 - (view) Author: Ezio Melotti (ezio.melotti) * (Python committer) Date: 2010-01-25 12:03
Fixed in r77743 (trunk), r77744 (release26-maint), r77745 (py3k) and r77746 (release31-maint), thanks for the patches!
History
Date User Action Args
2022-04-11 14:56:56adminsetgithub: 52023
2010-01-25 12:03:39ezio.melottisetstatus: open -> closed
resolution: fixed
messages: + msg98281

stage: patch review -> resolved
2010-01-25 10:44:41ezio.melottisetpriority: normal
assignee: georg.brandl -> ezio.melotti

nosy: + ezio.melotti
stage: needs patch -> patch review
2010-01-25 09:19:52julysetfiles: + rpartition-docstrings-py3k.diff
2010-01-25 09:19:27julysetfiles: + rpartition-docstrings-trunk.diff

nosy: + july
messages: + msg98274

keywords: + patch
2010-01-25 08:12:24floxsetstage: needs patch
2010-01-25 08:06:11kaizhusetmessages: + msg98273
2010-01-25 07:58:32floxsettype: behavior
versions: + Python 2.6, Python 2.7, Python 3.2
2010-01-25 06:54:17cjw296setnosy: + cjw296
messages: + msg98267
2010-01-25 04:04:38kaizhucreate