diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 3320f7c3bba728..74a132236bf26c 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -3307,9 +3307,10 @@ arbitrary binary data. 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 - character at the same position in *to*; *from* and *to* must both be - :term:`bytes-like objects ` and have the same length. + :meth:`bytearray.translate` or :meth:`bytes.translate` that will map each + character in *from* into the character at the same position in *to*; *from* + and *to* must both be :term:`bytes-like objects ` and + have the same length. .. versionadded:: 3.1