[parser] Add default values (#14967)

This commit is contained in:
Semyon Moroz
2025-11-02 18:04:16 +04:00
committed by GitHub
parent 7fde97036f
commit 5dd19592d3
+4 -4
View File
@@ -7,8 +7,8 @@ def expr(source: str) -> STType: ...
def suite(source: str) -> STType: ...
def sequence2st(sequence: Sequence[Any]) -> STType: ...
def tuple2st(sequence: Sequence[Any]) -> STType: ...
def st2list(st: STType, line_info: bool = ..., col_info: bool = ...) -> list[Any]: ...
def st2tuple(st: STType, line_info: bool = ..., col_info: bool = ...) -> tuple[Any, ...]: ...
def st2list(st: STType, line_info: bool = False, col_info: bool = False) -> list[Any]: ...
def st2tuple(st: STType, line_info: bool = False, col_info: bool = False) -> tuple[Any, ...]: ...
def compilest(st: STType, filename: StrOrBytesPath = ...) -> CodeType: ...
def isexpr(st: STType) -> bool: ...
def issuite(st: STType) -> bool: ...
@@ -21,5 +21,5 @@ class STType:
def compile(self, filename: StrOrBytesPath = ...) -> CodeType: ...
def isexpr(self) -> bool: ...
def issuite(self) -> bool: ...
def tolist(self, line_info: bool = ..., col_info: bool = ...) -> list[Any]: ...
def totuple(self, line_info: bool = ..., col_info: bool = ...) -> tuple[Any, ...]: ...
def tolist(self, line_info: bool = False, col_info: bool = False) -> list[Any]: ...
def totuple(self, line_info: bool = False, col_info: bool = False) -> tuple[Any, ...]: ...