Skip to content

Commit 5dd1959

Browse files
authored
[parser] Add default values (#14967)
1 parent 7fde970 commit 5dd1959

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

stdlib/parser.pyi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ def expr(source: str) -> STType: ...
77
def suite(source: str) -> STType: ...
88
def sequence2st(sequence: Sequence[Any]) -> STType: ...
99
def tuple2st(sequence: Sequence[Any]) -> STType: ...
10-
def st2list(st: STType, line_info: bool = ..., col_info: bool = ...) -> list[Any]: ...
11-
def st2tuple(st: STType, line_info: bool = ..., col_info: bool = ...) -> tuple[Any, ...]: ...
10+
def st2list(st: STType, line_info: bool = False, col_info: bool = False) -> list[Any]: ...
11+
def st2tuple(st: STType, line_info: bool = False, col_info: bool = False) -> tuple[Any, ...]: ...
1212
def compilest(st: STType, filename: StrOrBytesPath = ...) -> CodeType: ...
1313
def isexpr(st: STType) -> bool: ...
1414
def issuite(st: STType) -> bool: ...
@@ -21,5 +21,5 @@ class STType:
2121
def compile(self, filename: StrOrBytesPath = ...) -> CodeType: ...
2222
def isexpr(self) -> bool: ...
2323
def issuite(self) -> bool: ...
24-
def tolist(self, line_info: bool = ..., col_info: bool = ...) -> list[Any]: ...
25-
def totuple(self, line_info: bool = ..., col_info: bool = ...) -> tuple[Any, ...]: ...
24+
def tolist(self, line_info: bool = False, col_info: bool = False) -> list[Any]: ...
25+
def totuple(self, line_info: bool = False, col_info: bool = False) -> tuple[Any, ...]: ...

0 commit comments

Comments
 (0)