# coding: utf-8 # AUTO-GENERATED FILE -- DO NOT EDIT """ Opcode support module. """ ENABLE_SPECIALIZATION = 1 __doc__ = 'Opcode support module.' class __loader__(object): """ Meta path import for built-in modules. All methods are either class or static methods to avoid the need to instantiate the class. """ _ORIGIN = 'built-in' def create_module(self, spec): """ Create a built-in module """ pass def exec_module(self, module): """ Exec a built-in module """ pass def find_spec(self, fullname, path=None, target=None): pass def get_code(self, fullname): """ Return None as built-in modules do not have code objects. """ pass def get_source(self, fullname): """ Return None as built-in modules do not have source code. """ pass def is_package(self, fullname): """ Return False as built-in modules are never packages. """ pass def load_module(self, fullname): """ Load the specified module into sys.modules and return it. This method is deprecated. Use loader.exec_module() instead. """ pass __name__ = '_opcode' __package__ = '' __spec__ = None def get_executor(code, offset): """ Return the executor object at offset in code if exists, None otherwise. """ pass def get_intrinsic1_descs(): """ Return a list of names of the unary intrinsics. """ pass def get_intrinsic2_descs(): """ Return a list of names of the binary intrinsics. """ pass def get_nb_ops(): """ Return array of symbols of binary ops. Indexed by the BINARY_OP oparg value. """ pass def get_specialization_stats(): """ Return the specialization stats """ pass def has_arg(opcode): """ Return True if the opcode uses its oparg, False otherwise. """ pass def has_const(opcode): """ Return True if the opcode accesses a constant, False otherwise. """ pass def has_exc(opcode): """ Return True if the opcode sets an exception handler, False otherwise. """ pass def has_free(opcode): """ Return True if the opcode accesses a free variable, False otherwise. Note that 'free' in this context refers to names in the current scope that are referenced by inner scopes or names in outer scopes that are referenced from this scope. It does not include references to global or builtin scopes. """ pass def has_jump(opcode): """ Return True if the opcode has a jump target, False otherwise. """ pass def has_local(opcode): """ Return True if the opcode accesses a local variable, False otherwise. """ pass def has_name(opcode): """ Return True if the opcode accesses an attribute by name, False otherwise. """ pass def is_valid(opcode): """ Return True if opcode is valid, False otherwise. """ pass def stack_effect(opcode, oparg=None, jump=None): """ Compute the stack effect of the opcode. """ pass