mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-16 11:01:27 +08:00
Added missing special attributes for PY3 functions (#875)
This commit is contained in:
1 parent
7c93bb07e1
commit
92534805b5
1 file changed
+2
@@ -27,6 +27,8 @@ class FunctionType:
|
||||
__dict__ = ... # type: Dict[str, Any]
|
||||
__globals__ = ... # type: Dict[str, Any]
|
||||
__name__ = ... # type: str
|
||||
__annotations__ = ... # type: Dict[str, Any]
|
||||
__kwdefaults__ = ... # type: Dict[str, Any]
|
||||
def __call__(self, *args: Any, **kwargs: Any) -> Any: ...
|
||||
def __get__(self, obj: Optional[object], type: Optional[type]) -> 'MethodType': ...
|
||||
LambdaType = FunctionType
|
||||
|
||||
Reference in new issue
Block a user