From 26e573ba1cc3e71ccdd9f5c65701842ab7a68e7d Mon Sep 17 00:00:00 2001 From: Jelle Zijlstra Date: Wed, 28 Mar 2018 20:24:39 -0700 Subject: [PATCH] change default value to ... in inspect.pyi (#1998) This is in our style guide. This is the last piece of offending code; I just submitted ambv/flake8-pyi#10 to enforce the rule in the linter in the future. --- stdlib/3/inspect.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/3/inspect.pyi b/stdlib/3/inspect.pyi index a72882396..d76623174 100644 --- a/stdlib/3/inspect.pyi +++ b/stdlib/3/inspect.pyi @@ -203,7 +203,7 @@ ArgInfo = NamedTuple('ArgInfo', [('args', List[str]), ]) def getargvalues(frame: FrameType) -> ArgInfo: ... -def formatannotation(annotation: object, base_module: Optional[str] = None) -> str: ... +def formatannotation(annotation: object, base_module: Optional[str] = ...) -> str: ... def formatannotationrelativeto(object: object) -> Callable[[object], str]: ... def formatargspec(args: List[str], varargs: Optional[str] = ...,