mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 12:14:27 +08:00
add _symtable.pyi
This commit is contained in:
38
builtins/2.7/_symtable.pyi
Normal file
38
builtins/2.7/_symtable.pyi
Normal file
@@ -0,0 +1,38 @@
|
||||
from typing import List, Dict
|
||||
|
||||
CELL = ... # type: int
|
||||
DEF_BOUND = ... # type: int
|
||||
DEF_FREE = ... # type: int
|
||||
DEF_FREE_CLASS = ... # type: int
|
||||
DEF_GLOBAL = ... # type: int
|
||||
DEF_IMPORT = ... # type: int
|
||||
DEF_LOCAL = ... # type: int
|
||||
DEF_PARAM = ... # type: int
|
||||
FREE = ... # type: int
|
||||
GLOBAL_EXPLICIT = ... # type: int
|
||||
GLOBAL_IMPLICIT = ... # type: int
|
||||
LOCAL = ... # type: int
|
||||
OPT_BARE_EXEC = ... # type: int
|
||||
OPT_EXEC = ... # type: int
|
||||
OPT_IMPORT_STAR = ... # type: int
|
||||
SCOPE_MASK = ... # type: int
|
||||
SCOPE_OFF = ... # type: int
|
||||
TYPE_CLASS = ... # type: int
|
||||
TYPE_FUNCTION = ... # type: int
|
||||
TYPE_MODULE = ... # type: int
|
||||
USE = ... # type: int
|
||||
|
||||
class symtable(object):
|
||||
children = ... # type: List[_symtable_entry]
|
||||
id = ... # type: int
|
||||
lineno = ... # type: int
|
||||
name = ... # type: str
|
||||
nested = ... # type: int
|
||||
optimized = ... # type: int
|
||||
symbols = ... # type: Dict[str, int]
|
||||
type = ... # type: int
|
||||
varnames = ... # type: List[str]
|
||||
|
||||
def __init__(src: str, filename: str, startstr: str) -> None: ...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user