mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
Enable --disallow-any-generics for stubs (#3288)
This commit is contained in:
committed by
Jelle Zijlstra
parent
23b353303b
commit
c32e1e2280
@@ -147,7 +147,7 @@ class MethodType:
|
||||
__self__: object
|
||||
__name__: str
|
||||
__qualname__: str
|
||||
def __init__(self, func: Callable, obj: object) -> None: ...
|
||||
def __init__(self, func: Callable[..., Any], obj: object) -> None: ...
|
||||
def __call__(self, *args: Any, **kwargs: Any) -> Any: ...
|
||||
class BuiltinFunctionType:
|
||||
__self__: Union[object, ModuleType]
|
||||
|
||||
Reference in New Issue
Block a user