# coding: utf-8 # AUTO-GENERATED FILE -- DO NOT EDIT """ xxsubtype is an example module showing how to subtype builtin types from C. test_descr.py in the standard test suite requires it in order to complete. If you don't care about the examples, and don't intend to run the Python test suite, you can recompile Python without Modules/xxsubtype.c. """ __doc__ = """xxsubtype is an example module showing how to subtype builtin types from C. test_descr.py in the standard test suite requires it in order to complete. If you don't care about the examples, and don't intend to run the Python test suite, you can recompile Python without Modules/xxsubtype.c.""" 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. """ def find_module(self, fullname, path=None): """ Find the built-in module. If 'path' is ever specified then the search is considered a failure. This method is deprecated. Use find_spec() instead. """ 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 a built-in module. """ pass def module_repr(self, module): """ Return repr for the module. The method is deprecated. The import machinery does the job itself. """ pass __name__ = 'xxsubtype' __package__ = '' __spec__ = None def bench(): pass class spamdict(dict): def __init__(self, *args, **kwargs): pass def fromkeys(self, iterable, value=None): """ Returns a new dict with keys from iterable and values equal to value. """ pass def getstate(self): """ getstate() -> state """ return None def setstate(self, state): """ setstate(state) """ pass state = None class spamlist(list): def __init__(self, *args, **kwargs): pass def classmeth(self, arg0, arg1): """ classmeth(*args, **kw) """ pass def getstate(self): """ getstate() -> state """ return None def setstate(self, state): """ setstate(state) """ pass state = property(None, None, None, """ an int variable for demonstration purposes """ ) def staticmeth(self, arg0, arg1): """ staticmeth(*args, **kw) """ pass