Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8642556 commit 751771bCopy full SHA for 751771b
1 file changed
Doc/library/stdtypes.rst
@@ -1541,6 +1541,7 @@ The maketrans and translate methods differ in semantics from the versions
1541
available on strings:
1542
1543
.. method:: bytes.translate(table[, delete])
1544
+ bytearray.translate(table[, delete])
1545
1546
Return a copy of the bytes or bytearray object where all bytes occurring in
1547
the optional argument *delete* are removed, and the remaining bytes have been
@@ -1557,6 +1558,7 @@ available on strings:
1557
1558
1559
1560
.. staticmethod:: bytes.maketrans(from, to)
1561
+ bytearray.maketrans(from, to)
1562
1563
This static method returns a translation table usable for
1564
:meth:`bytes.translate` that will map each character in *from* into the
0 commit comments