Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#240 fixes python 3.7 support #241

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions bitstring.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
from collections import abc
import functools
import types
from typing import Generator, SupportsIndex, Tuple, Union, List, Iterable, Any, Optional, Iterator, Pattern, Dict,\
from typing import Generator, Sequence, Tuple, Union, List, Iterable, Any, Optional, Iterator, Pattern, Dict,\
BinaryIO, TextIO, Callable, overload
from contextlib import suppress

Expand Down Expand Up @@ -523,10 +523,10 @@ def __len__(self) -> int:
def pop(self, __index: int = ...) -> int:
raise NotImplementedError

def append(self, __item: SupportsIndex) -> None:
def append(self, __item: Sequence) -> None:
raise NotImplementedError

def extend(self, __iterable_of_ints: Iterable[SupportsIndex]) -> None:
def extend(self, __iterable_of_ints: Iterable[Sequence]) -> None:
raise NotImplementedError

def __iter__(self):
Expand Down