[docs] [issue12385] the help for bytearray.maketrans describes bytes.maketrans

R. David Murray report at bugs.python.org
Wed Jun 22 02:15:48 CEST 2011


R. David Murray <rdmurray at bitdance.com> added the comment:

Hmm.  I wonder why we have two copies of this method.

Well, given that we do, the best fix for the docs would be to say "for use in the bytes or bytearray translate method" in both this docstring and the bytes.maketrans docstring.

----------
nosy: +r.david.murray
stage:  -> needs patch
type:  -> behavior
versions: +Python 3.2, Python 3.3 -Python 3.1

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12385>
_______________________________________


More information about the docs mailing list