mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
Remove Python 3.7 branches (#11238)
This commit is contained in:
@@ -29,21 +29,16 @@ class Function(SymbolTable):
|
||||
def get_locals(self) -> tuple[str, ...]: ...
|
||||
def get_globals(self) -> tuple[str, ...]: ...
|
||||
def get_frees(self) -> tuple[str, ...]: ...
|
||||
if sys.version_info >= (3, 8):
|
||||
def get_nonlocals(self) -> tuple[str, ...]: ...
|
||||
def get_nonlocals(self) -> tuple[str, ...]: ...
|
||||
|
||||
class Class(SymbolTable):
|
||||
def get_methods(self) -> tuple[str, ...]: ...
|
||||
|
||||
class Symbol:
|
||||
if sys.version_info >= (3, 8):
|
||||
def __init__(
|
||||
self, name: str, flags: int, namespaces: Sequence[SymbolTable] | None = None, *, module_scope: bool = False
|
||||
) -> None: ...
|
||||
def is_nonlocal(self) -> bool: ...
|
||||
else:
|
||||
def __init__(self, name: str, flags: int, namespaces: Sequence[SymbolTable] | None = None) -> None: ...
|
||||
|
||||
def __init__(
|
||||
self, name: str, flags: int, namespaces: Sequence[SymbolTable] | None = None, *, module_scope: bool = False
|
||||
) -> None: ...
|
||||
def is_nonlocal(self) -> bool: ...
|
||||
def get_name(self) -> str: ...
|
||||
def is_referenced(self) -> bool: ...
|
||||
def is_parameter(self) -> bool: ...
|
||||
|
||||
Reference in New Issue
Block a user