mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-22 11:51:29 +08:00
integrate some generated stubs
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
from collections import OrderedDict
|
||||
|
||||
from typing import (Any, Callable, Dict, Generic, Hashable, Iterable, Iterator, List, Mapping,
|
||||
from typing import (Any, Callable, Dict, Generic, Iterable, Iterator, List, Mapping,
|
||||
MutableMapping, MutableSet, Optional, overload, Tuple, TypeVar, Union)
|
||||
|
||||
KT = TypeVar('KT')
|
||||
@@ -14,6 +14,9 @@ class OrderedSet(MutableSet[KT], Generic[KT]):
|
||||
def add(self, item: KT) -> None: ...
|
||||
def remove(self, item: KT) -> None: ...
|
||||
def discard(self, item: KT) -> None: ...
|
||||
def __contains__(self, item): ...
|
||||
def __iter__(self): ...
|
||||
def __len__(self): ...
|
||||
|
||||
class MultiValueDictKeyError(KeyError): ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user