Commit de76c07a authored by Pablo Galindo's avatar Pablo Galindo Committed by GitHub

bpo-37134: Add PEP570 notation to the signature of byte{array}.translate (GH-13874)

parent dc247650
...@@ -2736,8 +2736,8 @@ arbitrary binary data. ...@@ -2736,8 +2736,8 @@ arbitrary binary data.
The prefix(es) to search for may be any :term:`bytes-like object`. The prefix(es) to search for may be any :term:`bytes-like object`.
.. method:: bytes.translate(table, delete=b'') .. method:: bytes.translate(table, /, delete=b'')
bytearray.translate(table, delete=b'') bytearray.translate(table, /, delete=b'')
Return a copy of the bytes or bytearray object where all bytes occurring in 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 the optional argument *delete* are removed, and the remaining bytes have
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment