[issue12621] Errors in docstrings of find and rfind methods of bytes and bytestring

Petri Lehtinen report at bugs.python.org
Sun Jul 24 12:53:50 CEST 2011


Petri Lehtinen <petri at 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 <report at bugs.python.org>
<http://bugs.python.org/issue12621>
_______________________________________


More information about the Python-bugs-list mailing list