Home | Trees | Indices | Help |
|
---|
|
object --+ | Cached
Base class for all cached objects.
Every object has an owning object a handle. Owning object is where the cache is maintained, handle identifies an object of given type.
Thanks to the caching, trying to create two objects with the same owner and handle yields exactly the same object. The cache itself is based on weak references so not referenced objects are automatically removed from the cache.
Because the __init__ method will be called no matter if the object already existed or not, it is recommended to use the _Init method instead.
Instance Methods | |||
|
|||
|
|||
Inherited from |
Static Methods | |||
a new object with type S, a subtype of T |
|
Properties | |
Inherited from |
Method Details |
|
repr(x)
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sat Sep 26 16:13:06 2009 | http://epydoc.sourceforge.net |