Skip to content

Commit

Permalink
update work on .pyi file
Browse files Browse the repository at this point in the history
  • Loading branch information
ilanschnell committed Jun 10, 2021
1 parent c8e880e commit 83d47de
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions bitarray/__init__.pyi
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
from collections.abc import Iterable

from typing import Any, BinaryIO, Optional, Union, overload
from typing import Any, BinaryIO, Iterable, Optional, Union, overload
from typing_extensions import Literal


Expand Down Expand Up @@ -42,7 +40,7 @@ class bitarray:
code: Union[Codedict, decodetree], /) -> Iterable[int]: ...
def itersearch(self, a: Union[bitarray, Bool], /) -> Iterable[int]: ...
def pack(self, b: bytes, /) -> None: ...
def pop(self, i: int=..., /) -> int: ...
def pop(self, i: int=..., /) -> Bool: ...
def remove(self, value: Bool, /) -> None: ...
def reverse(self) -> None: ...
def search(self, a: Union[bitarray, Bool],
Expand All @@ -57,7 +55,7 @@ class bitarray:

def __len__(self) -> int: ...
@overload
def __getitem__(self, i: int) -> int: ...
def __getitem__(self, i: int) -> Bool: ...
@overload
def __getitem__(self, s: slice) -> bitarray: ...
@overload
Expand Down

0 comments on commit 83d47de

Please sign in to comment.