mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-16 00:37:10 +08:00
Add various missing generic arguments (#7702)
Co-authored-by: Akuli <akuviljanen17@gmail.com>
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
import collections
|
||||
from typing import Any
|
||||
from collections import OrderedDict
|
||||
from typing import Any, Generic, TypeVar
|
||||
|
||||
from humanfriendly.compat import unicode
|
||||
|
||||
class CaseInsensitiveDict(collections.OrderedDict):
|
||||
_KT = TypeVar("_KT")
|
||||
_VT = TypeVar("_VT")
|
||||
|
||||
class CaseInsensitiveDict(OrderedDict[_KT, _VT], Generic[_KT, _VT]):
|
||||
def __init__(self, other: Any | None = ..., **kw) -> None: ...
|
||||
def coerce_key(self, key): ...
|
||||
@classmethod
|
||||
|
||||
Reference in New Issue
Block a user