func maketrans(_: typedesc[PyBytes]; frm, to: PyBytes): PyBytes
func translate(self, table, delete: PyBytes): PyBytes {....raises: [ValueError], tags: [], forbids: [].}
func translate(self, table: PyBytes): PyBytes {....raises: [ValueError], tags: [], forbids: [].}
func translate(self: PyBytes; table: NoneType; delete: PyBytes): PyBytes {. ...raises: [], tags: [], forbids: [].}