mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-10-07 12:44:38 +08:00
Add __init__ to OrderedSet (#381)
This commit is contained in:
1 parent
8d2600136a
commit
dac2b31fb2
1 file changed
+1
@@ -22,6 +22,7 @@ _V = TypeVar("_V")
|
||||
|
||||
class OrderedSet(MutableSet[_K]):
|
||||
dict: Dict[_K, None] = ...
|
||||
def __init__(self, iterable: Optional[Iterable[_K]] = ...) -> None: ...
|
||||
def __contains__(self, item: object) -> bool: ...
|
||||
def __iter__(self) -> Iterator[_K]: ...
|
||||
def __len__(self) -> int: ...
|
||||
|
||||
Reference in new issue
Block a user