Added attributes present in inheritors of types.InstanceType (#885)

This commit is contained in:
Andrey Vlasovskikh
2017-01-29 22:26:30 +03:00
committed by Guido van Rossum
parent bb33cb0119
commit 2d46679da8

View File

@@ -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: