mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-16 02:51:28 +08:00
Remove many redundant inheritances from Generic[] (#10933)
This commit is contained in:
1 parent
5dbdd59c9b
commit
a08d4c8d2e
30 files changed
+81
-81
No files matched your search
+1
-1
@@ -40,7 +40,7 @@ _P = ParamSpec("_P")
|
||||
|
||||
ProxyTypes: tuple[type[Any], ...]
|
||||
|
||||
class WeakMethod(ref[_CallableT], Generic[_CallableT]):
|
||||
class WeakMethod(ref[_CallableT]):
|
||||
def __new__(cls, meth: _CallableT, callback: Callable[[Self], object] | None = None) -> Self: ...
|
||||
def __call__(self) -> _CallableT | None: ...
|
||||
def __eq__(self, other: object) -> bool: ...
|
||||
|
||||
Reference in new issue
Block a user