Fix various pos-only stubtest complaints previously allowlisted (#7228)

This commit is contained in:
Alex Waygood
2022-02-15 16:51:34 +00:00
committed by GitHub
parent 1317fa7af9
commit 5e8a2a9364
6 changed files with 19 additions and 15 deletions

View File

@@ -604,6 +604,8 @@ class bytearray(MutableSequence[int], ByteString):
def lower(self) -> bytearray: ...
def lstrip(self, __bytes: bytes | None = ...) -> bytearray: ...
def partition(self, __sep: bytes) -> tuple[bytearray, bytearray, bytearray]: ...
def pop(self, __index: int = ...) -> int: ...
def remove(self, __value: int) -> None: ...
if sys.version_info >= (3, 9):
def removeprefix(self, __prefix: bytes) -> bytearray: ...
def removesuffix(self, __suffix: bytes) -> bytearray: ...