# coding: utf-8 # AUTO-GENERATED FILE -- DO NOT EDIT """ Weak-reference support module. """ class CallableProxyType(object): def next(self): """ x.next() -> the next value, or raise StopIteration """ return None class ProxyType(object): def next(self): """ x.next() -> the next value, or raise StopIteration """ return None class ReferenceType(object): def __init__(self): """ x.__init__(...) initializes x; see help(type(x)) for signature """ pass __doc__ = 'Weak-reference support module.' __name__ = '_weakref' __package__ = None def _remove_dead_weakref(dict, key): """ _remove_dead_weakref(dict, key) -- atomically remove key from dict if it points to a dead weakref. """ return {} def getweakrefcount(object): """ getweakrefcount(object) -- return the number of weak references to 'object'. """ return None def getweakrefs(object): """ getweakrefs(object) -- return a list of all weak reference objects that point to 'object'. """ return [] def proxy(object, callback=None): """ proxy(object[, callback]) -- create a proxy object that weakly references 'object'. 'callback', if given, is called with a reference to the proxy when 'object' is about to be finalized. """ return None