[issue12621] Errors in docstrings of find and rfind methods of bytes and bytestring
Roundup Robot devn...@psf.upfronthosting.co.za added the comment: New changeset c3aebd01a033 by Senthil Kumaran in branch '3.2': Fix closes Issue12621 - Fix docstrings of find and rfind methods of bytes/bytearry/unicodeobject. http://hg.python.org/cpython/rev/c3aebd01a033 New changeset 842494d73f69 by Senthil Kumaran in branch 'default': merge from 3.2 - Fix closes Issue12621 - Fix docstrings of find and rfind methods of bytes/bytearry/unicodeobject. http://hg.python.org/cpython/rev/842494d73f69 New changeset e266415cf42c by Senthil Kumaran in branch '2.7': merge from 3.2 - Fix closes Issue12621 - Fix docstrings of find and rfind methods of bytes/bytearry/unicodeobject. http://hg.python.org/cpython/rev/e266415cf42c -- nosy: +python-dev resolution: - fixed stage: needs patch - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12621 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12621] Errors in docstrings of find and rfind methods of bytes and bytestring
Petri Lehtinen pe...@digip.org added the comment: Attached outputs of the following commands in the corresponding head revisions (from yesterday, as hg.python.org seems to be down today): 3.3: for x in {bytes,bytearray}.{find,rfind} str.{find,rfind}; do echo === $x ===; ./python -c help($x) | cat; echo; done 3.3.txt 3.2: for x in {bytes,bytearray}.{find,rfind} str.{find,rfind}; do echo === $x ===; ./python -c help($x) | cat; echo; done 3.2.txt 2.7: for x in bytearray.{find,rfind} unicode.{find,rfind}; do echo === $x ===; ./python -c help($x) | cat; echo; done 2.7.txt In all files, I see s[start:end] or s[start,end] where there should read B[start:end] or S[start:end]. -- stage: - needs patch Added file: http://bugs.python.org/file22740/3.3.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12621 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12621] Errors in docstrings of find and rfind methods of bytes and bytestring
Changes by Petri Lehtinen pe...@digip.org: Added file: http://bugs.python.org/file22741/3.2.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12621 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12621] Errors in docstrings of find and rfind methods of bytes and bytestring
Changes by Petri Lehtinen pe...@digip.org: Added file: http://bugs.python.org/file22742/2.7.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12621 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
Re: [issue12621] Errors in docstrings of find and rfind methods of bytes and bytestring
Okay, got it. Thanks. I was a subtle one within the description. I missed it in the first place. ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12621] Errors in docstrings of find and rfind methods of bytes and bytestring
New submission from Petri Lehtinen pe...@digip.org: bytes.{find,rfind} reads s[start:end]; should be B[start:end] bytearray.{find,rfind} reads s[start,end]; should be B[start:end] {str,unicode}.{find,rfind} reads s{start:end]; should be S[start:end] -- assignee: docs@python components: Documentation, Interpreter Core keywords: easy messages: 141001 nosy: docs@python, petri.lehtinen priority: normal severity: normal stage: needs patch status: open title: Errors in docstrings of find and rfind methods of bytes and bytestring versions: Python 2.7, Python 3.2, Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12621 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue12621] Errors in docstrings of find and rfind methods of bytes and bytestring
Senthil Kumaran sent...@uthcode.com added the comment: These are not on head revision in cpython and 3.2. Where did you find this bug? Please provide further details along with snippet and/or file. -- nosy: +orsenthil stage: needs patch - ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12621 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com