From cf822783014b804bd757c4d7965c5832f212c228 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Mon, 25 Jan 2016 08:12:46 -0800 Subject: [PATCH] Use plain bytes instead of ByteString in 3/builtins.pyi. --- stdlib/3/builtins.pyi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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]: ...