From 0604db48c56a7d9fed10eff6f808efc1fede2dd8 Mon Sep 17 00:00:00 2001 From: arnimarj Date: Mon, 14 Oct 2019 12:31:54 +0000 Subject: [PATCH] fixing https://github.com/python/typeshed/issues/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 099041551d94..975b478287c9 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]), ])