Skip to content

Commit

Permalink
be more consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
ilanschnell committed Jun 10, 2021
1 parent 840ba92 commit b3f1429
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions bitarray/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class decodetree:

class bitarray:
def __init__(self,
initializer: Union[int, str, Iterable[Bool], None]=0,
initializer: Union[int, str, Iterable[Bool], None] = ...,
endian: str = ..., /) -> None: ...

def all(self) -> bool: ...
Expand All @@ -27,8 +27,8 @@ class bitarray:
def clear(self) -> None: ...
def copy(self) -> bitarray: ...
def count(self,
value: Bool=1,
start: int=0,
value: Bool = ...,
start: int = ...,
stop: int = ..., /) -> int: ...

def decode(self, code: Union[Codedict, decodetree], /) -> list: ...
Expand All @@ -38,14 +38,14 @@ class bitarray:
def fill(self) -> int: ...
def find(self,
a: Union[bitarray, Bool],
start: int = 0,
start: int = ...,
stop: int = ..., /) -> int: ...

def frombytes(self, a: bytes, /) -> None: ...
def fromfile(self, f: BinaryIO, n: int=-1, /) -> None: ...
def fromfile(self, f: BinaryIO, n: int = ..., /) -> None: ...
def index(self,
a: Union[bitarray, Bool],
start: int = 0,
start: int = ...,
stop: int = ..., /) -> int: ...

def insert(self, i: int, value: Bool, /) -> None: ...
Expand Down
2 changes: 1 addition & 1 deletion bitarray/util.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def rindex(a: bitarray, Value: Bool) -> int: ...
def strip(a: bitarray, mode: str = ...) -> bitarray: ...

def count_n(a: bitarray, n: int, /) -> int: ...
def parity(a: bitarray, /) -> int: ...
def parity(a: bitarray, /) -> Bool: ...
def count_and(a: bitarray, b: bitarray, /) -> int: ...
def count_or(a: bitarray, b: bitarray, /) -> int: ...
def count_xor(a: bitarray, b: bitarray, /) -> int: ...
Expand Down

0 comments on commit b3f1429

Please sign in to comment.