Remove many redundant inheritances from Generic[] (#10933)

This commit is contained in:
Alex Waygood authored and GitHub committed 2023-10-26 20:07:20 +02:00
1 parent 5dbdd59c9b
commit a08d4c8d2e
30 files changed
+81 -81

No files matched your search

+2 -2
View File
@@ -1,13 +1,13 @@
from _typeshed import Incomplete
from collections import OrderedDict
from typing import Generic, TypeVar
from typing import TypeVar
from humanfriendly.compat import unicode
_KT = TypeVar("_KT")
_VT = TypeVar("_VT")
class CaseInsensitiveDict(OrderedDict[_KT, _VT], Generic[_KT, _VT]):
class CaseInsensitiveDict(OrderedDict[_KT, _VT]):
def __init__(self, other: Incomplete | None = None, **kw) -> None: ...
def coerce_key(self, key): ...
@classmethod