diff --git a/stdlib/3/builtins.pyi b/stdlib/3/builtins.pyi index d417bce3b..1fb9f2b07 100644 --- a/stdlib/3/builtins.pyi +++ b/stdlib/3/builtins.pyi @@ -298,7 +298,7 @@ class bytes(ByteString): @classmethod def fromhex(cls, s: str) -> bytes: ... @classmethod - def maketrans(cls, frm: ByteString, to: ByteString) -> bytes: ... + def maketrans(cls, frm: bytes, to: bytes) -> bytes: ... def __len__(self) -> int: ... def __iter__(self) -> Iterator[int]: ... @@ -371,7 +371,7 @@ class bytearray(MutableSequence[int], ByteString): @classmethod def fromhex(cls, s: str) -> bytearray: ... @classmethod - def maketrans(cls, frm: ByteString, to: ByteString) -> bytes: ... + def maketrans(cls, frm: bytes, to: bytes) -> bytes: ... def __len__(self) -> int: ... def __iter__(self) -> Iterator[int]: ...