mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Big diff: use lower-case list and dict (#5888)
This commit is contained in:
@@ -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, ...]: ...
|
||||
|
||||
Reference in New Issue
Block a user