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.
This commit is contained in:
Jelle Zijlstra
2018-03-28 20:24:39 -07:00
committed by Łukasz Langa
parent 5201ccdfff
commit 26e573ba1c

View File

@@ -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] = ...,