__builtin__: Fix bytearray on python 2

bytearray should inherit from MutableSequence[int] instead of
Sequence[int].
This commit is contained in:
Eklavya Sharma
2016-07-09 01:52:44 +05:30
parent a62a7af1c5
commit 1cccc2d115

View File

@@ -365,7 +365,7 @@ class str(basestring, Sequence[str]):
def __ge__(self, x: unicode) -> bool: ...
def __mod__(self, x: Any) -> str: ...
class bytearray(Sequence[int]):
class bytearray(MutableSequence[int]):
@overload
def __init__(self) -> None: ...
@overload