Skip to content

Commit 26e573b

Browse files
JelleZijlstraambv
authored andcommitted
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 PyCQA/flake8-pyi#10 to enforce the rule in the linter in the future.
1 parent 5201ccd commit 26e573b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/3/inspect.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ ArgInfo = NamedTuple('ArgInfo', [('args', List[str]),
203203
])
204204

205205
def getargvalues(frame: FrameType) -> ArgInfo: ...
206-
def formatannotation(annotation: object, base_module: Optional[str] = None) -> str: ...
206+
def formatannotation(annotation: object, base_module: Optional[str] = ...) -> str: ...
207207
def formatannotationrelativeto(object: object) -> Callable[[object], str]: ...
208208
def formatargspec(args: List[str],
209209
varargs: Optional[str] = ...,

0 commit comments

Comments
 (0)