mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-06 12:14:28 +08:00
Add __init__ to OrderedSet (#381)
This commit is contained in:
committed by
GitHub
parent
8d2600136a
commit
dac2b31fb2
@@ -22,6 +22,7 @@ _V = TypeVar("_V")
|
|||||||
|
|
||||||
class OrderedSet(MutableSet[_K]):
|
class OrderedSet(MutableSet[_K]):
|
||||||
dict: Dict[_K, None] = ...
|
dict: Dict[_K, None] = ...
|
||||||
|
def __init__(self, iterable: Optional[Iterable[_K]] = ...) -> None: ...
|
||||||
def __contains__(self, item: object) -> bool: ...
|
def __contains__(self, item: object) -> bool: ...
|
||||||
def __iter__(self) -> Iterator[_K]: ...
|
def __iter__(self) -> Iterator[_K]: ...
|
||||||
def __len__(self) -> int: ...
|
def __len__(self) -> int: ...
|
||||||
|
|||||||
Reference in New Issue
Block a user