class documentation

class CodeType: (source)

View In Hierarchy

Version-agnostic types.CodeType.

Method __init__ Undocumented
Method __repr__ Undocumented
Constant CO_ASYNC_GENERATOR Undocumented
Constant CO_COROUTINE Undocumented
Constant CO_FUTURE_ABSOLUTE_IMPORT Undocumented
Constant CO_FUTURE_DIVISION Undocumented
Constant CO_FUTURE_PRINT_FUNCTION Undocumented
Constant CO_FUTURE_UNICODE_LITERALS Undocumented
Constant CO_FUTURE_WITH_STATEMENT Undocumented
Constant CO_GENERATOR Undocumented
Constant CO_ITERABLE_COROUTINE Undocumented
Constant CO_NESTED Undocumented
Constant CO_NEWLOCALS Undocumented
Constant CO_NOFREE Undocumented
Constant CO_OPTIMIZED Undocumented
Constant CO_VARARGS Undocumented
Constant CO_VARKEYWORDS Undocumented
Instance Variable co_argcount Undocumented
Instance Variable co_cellvars Undocumented
Instance Variable co_code Undocumented
Instance Variable co_consts Undocumented
Instance Variable co_filename Undocumented
Instance Variable co_firstlineno Undocumented
Instance Variable co_flags Undocumented
Instance Variable co_freevars Undocumented
Instance Variable co_kwonlyargcount Undocumented
Instance Variable co_lnotab Undocumented
Instance Variable co_name Undocumented
Instance Variable co_names Undocumented
Instance Variable co_nlocals Undocumented
Instance Variable co_posonlyargcount Undocumented
Instance Variable co_stacksize Undocumented
Instance Variable co_varnames Undocumented
Instance Variable python_version Undocumented
def __init__(self, argcount: int, posonlyargcount: int, kwonlyargcount: int, nlocals: int, stacksize: int, flags: int, code: bytes, consts: List[object], names: List[str], varnames: List[str], filename: Union[bytes, str], name: str, firstlineno: int, lnotab: Sequence[int], freevars: List[str], cellvars: List[str], python_version: Tuple[int, int]): (source)

Undocumented

def __repr__(self): (source)

Undocumented

CO_ASYNC_GENERATOR: int = (source)

Undocumented

Value
512
CO_COROUTINE: int = (source)

Undocumented

Value
128
CO_FUTURE_ABSOLUTE_IMPORT: int = (source)

Undocumented

Value
16384
CO_FUTURE_DIVISION: int = (source)

Undocumented

Value
8192
CO_FUTURE_PRINT_FUNCTION: int = (source)

Undocumented

Value
65536
CO_FUTURE_UNICODE_LITERALS: int = (source)

Undocumented

Value
131072
CO_FUTURE_WITH_STATEMENT: int = (source)

Undocumented

Value
32768
CO_GENERATOR: int = (source)

Undocumented

Value
32
CO_ITERABLE_COROUTINE: int = (source)

Undocumented

Value
256
CO_NESTED: int = (source)

Undocumented

Value
16
CO_NEWLOCALS: int = (source)

Undocumented

Value
2
CO_NOFREE: int = (source)

Undocumented

Value
64
CO_OPTIMIZED: int = (source)

Undocumented

Value
1
CO_VARARGS: int = (source)

Undocumented

Value
4
CO_VARKEYWORDS: int = (source)

Undocumented

Value
8
co_argcount = (source)

Undocumented

co_cellvars = (source)

Undocumented

Undocumented

co_consts = (source)

Undocumented

co_filename = (source)

Undocumented

co_firstlineno = (source)

Undocumented

co_flags = (source)

Undocumented

co_freevars = (source)

Undocumented

co_kwonlyargcount = (source)

Undocumented

co_lnotab = (source)

Undocumented

Undocumented

co_names = (source)

Undocumented

co_nlocals = (source)

Undocumented

co_posonlyargcount = (source)

Undocumented

co_stacksize = (source)

Undocumented

co_varnames = (source)

Undocumented

python_version = (source)

Undocumented