mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
ast: update for py38 (#3698)
This commit is contained in:
@@ -65,3 +65,10 @@ def literal_eval(node_or_string: Union[str, AST]) -> Any: ...
|
||||
if sys.version_info >= (3, 8):
|
||||
def get_source_segment(source: str, node: AST, *, padded: bool = ...) -> Optional[str]: ...
|
||||
def walk(node: AST) -> Iterator[AST]: ...
|
||||
|
||||
if sys.version_info >= (3, 8):
|
||||
class Num(Constant): ...
|
||||
class Str(Constant): ...
|
||||
class Bytes(Constant): ...
|
||||
class NameConstant(Constant): ...
|
||||
class Ellipsis(Constant): ...
|
||||
|
||||
Reference in New Issue
Block a user