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

py.user report at bugs.python.org
Wed Jun 22 01:35:00 CEST 2011


New submission from py.user <port139 at yandex.ru>:

help(bytearray.maketrans)

maketrans(...)
    B.maketrans(frm, to) -> translation table
    
    Return a translation table (a bytes object of length 256)
    suitable for use in bytes.translate where each byte in frm is
    mapped to the byte at the same position in to.
    The strings frm and to must be of the same length.

----------
assignee: docs at python
components: Documentation
messages: 138808
nosy: docs at python, py.user
priority: normal
severity: normal
status: open
title: the help for bytearray.maketrans describes bytes.maketrans
versions: Python 3.1

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


More information about the docs mailing list