Make inspect.unwrap() stop argument optional. (#2583)

Closes #2574
This commit is contained in:
edgchen1
2018-11-02 18:12:49 -07:00
committed by Sebastian Rittau
parent 113eda289f
commit 1989265e1f

View File

@@ -251,7 +251,7 @@ def getclosurevars(func: Callable[..., Any]) -> ClosureVars: ...
def unwrap(func: Callable[..., Any],
*,
stop: Callable[[Any], Any]) -> Any: ...
stop: Optional[Callable[[Any], Any]] = ...) -> Any: ...
#