| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
objectcontext
wrapper around objects to allow Templess to traverse attributes this is similar to the nastyness Zope exposes to its users in TAL, when Templess retrieves a key from the context, if the context is an objectcontext wrapping an object, instead of just doing a __getitem__ the following will be done: - first a __getitem__ is tried, then a __getattr_, if the value is still not found a KeyError is raised - before the value is returned, a check is done whether it's callable, and if so it's called (without arguments)
|
|||
|
__init__(self,
o) x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
||
| __getitem__(self, name) | ||
|
__str__(self) str(x) |
||
|
__repr__(self) repr(x) |
||
| __getattr__(self, name) | ||
| wrap(self, obj) | ||
| __hasattr__(self, name) | ||
|
Inherited from |
|||
|
|||
|
__marker__ = []
|
||
|
|||
|
Inherited from |
|||
|
|||
|
|
|
|
|
|
|
|
|||
__marker__None
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0alpha3 on Mon Nov 13 21:49:09 2006 | http://epydoc.sourceforge.net |