Big diff: use lower-case list and dict (#5888)

This commit is contained in:
Akuli
2021-08-08 19:26:35 +03:00
committed by GitHub
parent 11f54c3407
commit ce11072dbe
325 changed files with 2196 additions and 2334 deletions

View File

@@ -1,5 +1,5 @@
import sys
from typing import Any, List, Sequence, Tuple
from typing import Any, Sequence, Tuple
def symtable(code: str, filename: str, compile_type: str) -> SymbolTable: ...
@@ -15,8 +15,8 @@ class SymbolTable(object):
def has_exec(self) -> bool: ...
def get_identifiers(self) -> Sequence[str]: ...
def lookup(self, name: str) -> Symbol: ...
def get_symbols(self) -> List[Symbol]: ...
def get_children(self) -> List[SymbolTable]: ...
def get_symbols(self) -> list[Symbol]: ...
def get_children(self) -> list[SymbolTable]: ...
class Function(SymbolTable):
def get_parameters(self) -> Tuple[str, ...]: ...