available on strings:
.. method:: bytes.translate(table[, delete])
+ bytearray.translate(table[, delete])
Return a copy of the bytes or bytearray object where all bytes occurring in
the optional argument *delete* are removed, and the remaining bytes have been
.. staticmethod:: bytes.maketrans(from, to)
+ bytearray.maketrans(from, to)
This static method returns a translation table usable for
:meth:`bytes.translate` that will map each character in *from* into the