mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
Added attributes present in inheritors of types.InstanceType (#885)
This commit is contained in:
committed by
Guido van Rossum
parent
bb33cb0119
commit
2d46679da8
@@ -84,7 +84,12 @@ class UnboundMethodType:
|
||||
__func__ = im_func
|
||||
__self__ = im_self
|
||||
def __call__(self, *args: Any, **kwargs: Any) -> Any: ...
|
||||
class InstanceType: ...
|
||||
|
||||
class InstanceType:
|
||||
__doc__ = ... # type: Optional[str]
|
||||
__class__ = ... # type: type
|
||||
__module__ = ... # type: Any
|
||||
|
||||
MethodType = UnboundMethodType
|
||||
|
||||
class BuiltinFunctionType:
|
||||
|
||||
Reference in New Issue
Block a user