From 92534805b5ba138d14bbb5947ae4ab2aeb375eca Mon Sep 17 00:00:00 2001 From: Andrey Vlasovskikh Date: Mon, 30 Jan 2017 07:34:35 +0300 Subject: [PATCH] Added missing special attributes for PY3 functions (#875) --- stdlib/3/types.pyi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stdlib/3/types.pyi b/stdlib/3/types.pyi index 17e33470a..4c9535b37 100644 --- a/stdlib/3/types.pyi +++ b/stdlib/3/types.pyi @@ -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