Trees | Indices | Help |
|
---|
|
object --+ | Reffer
Holds references to keep objects alive. Intended in combo with WeakEvent for bound method references e.g. self.onEvent, since self.onEvent creates a temporary instance that would otherwise be destroyed.
Usage:
>>> self.ref = Reffer() >>> self.evt = WeakEvent() >>> self.evt += self.ref(self.onEvt) >>> ... >>> self.evt -= self.ref(self.onEvt) # hashes the same each time
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Mar 15 15:30:13 2012 | http://epydoc.sourceforge.net |