Module ketos::bytecode::code_flags [] [src]

Bit flag values for Code::flags

Constants

ALL_FLAGS

Mask of all valid flags

HAS_DOC_STRING

Whether the code object has an associated docstring

HAS_KW_PARAMS

Whether the code accepts one or more keyword parameters

HAS_NAME

Whether the code object has an associated name

HAS_REST_PARAMS

Whether the code accepts unbounded positional parameters

PARAM_FLAGS_MASK

Mask of mutually exclusive parameter flags