# coding: utf-8 # AUTO-GENERATED FILE -- DO NOT EDIT """ This module provides primitive operations to manage Python interpreters. The 'interpreters' module provides a more convenient interface. """ class InterpreterID(object): """ A interpreter ID identifies a interpreter and may be used as an int. """ pass class RunFailedError(RuntimeError): pass __doc__ = """This module provides primitive operations to manage Python interpreters. The 'interpreters' module provides a more convenient interface.""" 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__ = '_xxsubinterpreters' __package__ = '' __spec__ = None def create(): """ create() -> ID Create a new interpreter and return a unique generated ID. """ return None def destroy(id): """ destroy(id) Destroy the identified interpreter. Attempting to destroy the current interpreter results in a RuntimeError. So does an unrecognized ID. """ pass def get_current(): """ get_current() -> ID Return the ID of current interpreter. """ return None def get_main(): """ get_main() -> ID Return the ID of main interpreter. """ return None def is_running(id): """ is_running(id) -> bool Return whether or not the identified interpreter is running. """ return None def is_shareable(obj): """ is_shareable(obj) -> bool Return True if the object's data may be shared between interpreters and False otherwise. """ return None def list_all(): """ list_all() -> [ID] Return a list containing the ID of every existing interpreter. """ return [None] def run_string(id, script, shared): """ run_string(id, script, shared) Execute the provided string in the identified interpreter. See PyRun_SimpleStrings. """ pass