fixes for types.CodeType (in 2.7/ and 3/)

This commit is contained in:
Matthias Kramm
2015-10-12 10:44:45 -07:00
parent 7709b96e05
commit 75b3d91e02
2 changed files with 32 additions and 16 deletions

View File

@@ -18,3 +18,19 @@ class GeneratorType:
class ListType:
...
class CodeType:
co_argcount = ... # type: int
co_cellvars = ... # type: Tuple[str]
co_code = ... # type: str
co_consts = ... # type: Tuple[Any]
co_filename = ... # type: Optional[str]
co_firstlineno = ... # type: int
co_flags = ... # type: int
co_freevars = ... # type: Tuple[str]
co_lnotab = ... # type: str
co_name = ... # type: str
co_names = ... # type: Tuple[str]
co_nlocals= ... # type: int
co_stacksize= ... # type: int
co_varnames = ... # type: Tuple[str]