mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
Inherit InstanceType from object (#2511)
This commit is contained in:
committed by
Sebastian Rittau
parent
1b37ca4297
commit
4859742087
@@ -88,9 +88,8 @@ class UnboundMethodType:
|
||||
def __init__(self, func: Callable, obj: object) -> None: ...
|
||||
def __call__(self, *args: Any, **kwargs: Any) -> Any: ...
|
||||
|
||||
class InstanceType:
|
||||
__doc__ = ... # type: Optional[str]
|
||||
__module__ = ... # type: Any
|
||||
class InstanceType(object):
|
||||
pass
|
||||
|
||||
MethodType = UnboundMethodType
|
||||
|
||||
|
||||
Reference in New Issue
Block a user