You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
the help for bytearray.maketrans describes bytes.maketrans #56594
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2011-06-27.16:07:25.933>created_at=<Date2011-06-21.23:35:00.296>labels= ['type-bug', 'docs']
title='the help for bytearray.maketrans describes bytes.maketrans'updated_at=<Date2011-06-27.16:07:25.931>user='https://github.com/py-user'
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.
Activity
py-user commentedon Jun 21, 2011
bitdancer commentedon Jun 22, 2011
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.
python-dev commentedon Jun 27, 2011
New changeset 586745894ab8 by Senthil Kumaran in branch '3.2':
Fix closes bpo-12385 - Clarify maketrans method docstring for bytes and bytearray object.
http://hg.python.org/cpython/rev/586745894ab8