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 |
|
|||
r | |||
Inherited from |
|
x.__init__(...) initializes x; see help(type(x)) for signature
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Fri Dec 15 19:07:38 2017 | http://epydoc.sourceforge.net |