Use plain bytes instead of ByteString in 3/builtins.pyi.

This commit is contained in:
Guido van Rossum
2016-01-25 08:12:46 -08:00
parent 23adcaf4f4
commit cf82278301

View File

@@ -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]: ...