symtable: has_exec was removed in 3.9 (#7911)

This commit is contained in:
Jelle Zijlstra
2022-05-21 08:50:27 -07:00
committed by GitHub
parent 39c777f70c
commit ddc6eda10a
4 changed files with 3 additions and 4 deletions

View File

@@ -15,7 +15,9 @@ class SymbolTable:
def is_optimized(self) -> bool: ...
def is_nested(self) -> bool: ...
def has_children(self) -> bool: ...
def has_exec(self) -> bool: ...
if sys.version_info < (3, 9):
def has_exec(self) -> bool: ...
def get_identifiers(self) -> Sequence[str]: ...
def lookup(self, name: str) -> Symbol: ...
def get_symbols(self) -> list[Symbol]: ...