Skip to content

Commit

Permalink
Add a missing parameter type to bytearray.__add__.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 482878678
  • Loading branch information
rchen152 committed Oct 26, 2022
1 parent 8155f0f commit e817814
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytype/stubs/builtins/builtins.pytd
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ class bytearray(MutableSequence[int]):
def __init__(self, iterable_of_ints) -> NoneType: ...
def __init__(self) -> NoneType: ...
def __init__(self, source: str, encoding: str, errors: str = ...) -> NoneType: ...
def __add__(self, y: Union[str, bytearray]) -> bytearray: ...
def __add__(self, y: Union[str, bytes, bytearray]) -> bytearray: ...
def __alloc__(self) -> int: ...
def __contains__(self, y: Union[str, int, bytearray, bytes]) -> bool: ...
def __delitem__(self, y: Union[int, slice]) -> NoneType: ...
Expand Down

0 comments on commit e817814

Please sign in to comment.