# 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.""" __name__ = 'xxsubtype' __package__ = None def bench(): pass class spamdict(dict): def __init__(self, *args): """ x.__init__(...) initializes x; see x.__class__.__doc__ for signature """ pass def fromkeys(self, S, v=None): """ dict.fromkeys(S[,v]) -> New dict with keys from S and values equal to v. v defaults to None. """ return {} def getstate(self): """ getstate() -> state """ return None def setstate(self, state): """ setstate(state) """ pass state = None class spamlist(list): def __init__(self, *args): """ x.__init__(...) initializes x; see x.__class__.__doc__ for signature """ 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