From 7e99848b2c9e8982873ad87cfe3f6ffc44549df0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81rni=20M=C3=A1r=20J=C3=B3nsson?= Date: Mon, 14 Oct 2019 13:21:00 +0000 Subject: [PATCH] fixing https://github.com/python/typeshed/issues/3361 (#3362) Fixes #3361 --- stdlib/3/inspect.pyi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stdlib/3/inspect.pyi b/stdlib/3/inspect.pyi index 099041551..975b47828 100644 --- a/stdlib/3/inspect.pyi +++ b/stdlib/3/inspect.pyi @@ -187,9 +187,9 @@ def getargspec(func: object) -> ArgSpec: ... FullArgSpec = NamedTuple('FullArgSpec', [('args', List[str]), ('varargs', Optional[str]), ('varkw', Optional[str]), - ('defaults', Tuple[Any, ...]), + ('defaults', Optional[Tuple[Any, ...]]), ('kwonlyargs', List[str]), - ('kwonlydefaults', Dict[str, Any]), + ('kwonlydefaults', Optional[Dict[str, Any]]), ('annotations', Dict[str, Any]), ])