| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
LookupBase --+
|
StrictLookup
Strict variable lookup mechanism for expressions.
Referencing an undefined variable using this lookup style will immediately raise an UndefinedError:
>>> expr = Expression('nothing', lookup='strict') >>> expr.evaluate({}) Traceback (most recent call last): ... UndefinedError: "nothing" not defined
The same happens when a non-existing attribute or item is accessed on an existing object:
>>> expr = Expression('something.nil', lookup='strict') >>> expr.evaluate({'something': dict()}) Traceback (most recent call last): ... UndefinedError: {} has no member named "nil"
| Instance Methods | |
|
Inherited from |
| Class Methods | |||
|
|||
|
Inherited from |
|||
| Properties | |
|
Inherited from |
| Method Details |
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Mon Jun 9 12:25:07 2008 | http://epydoc.sourceforge.net |