mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-10 05:51:52 +08:00
fixes for types.CodeType (in 2.7/ and 3/)
This commit is contained in:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user