Skip to content

Commit a30e730

Browse files
committed
add bytearray as usable to bytes.maketrans and bytearray.maketrans.
1 parent 5c6937a commit a30e730

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/stdtypes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3306,7 +3306,7 @@ arbitrary binary data.
33063306
.. staticmethod:: bytes.maketrans(from, to, /)
33073307
bytearray.maketrans(from, to, /)
33083308

3309-
This static method returns a translation table usable for
3309+
This static method returns a translation table usable for bytearray or
33103310
:meth:`bytes.translate` that will map each character in *from* into the
33113311
character at the same position in *to*; *from* and *to* must both be
33123312
:term:`bytes-like objects <bytes-like object>` and have the same length.

0 commit comments

Comments
 (0)