| Home | Trees | Index | Help |
|---|
| Method Summary | |
|---|---|
__init__(self,
session,
proxy,
classname,
definition)
| |
__call__(self,
*args)
| |
This function compares an instance with another object. | |
__coerce__(self,
attr)
| |
__eq__(self,
other)
| |
This function simulates access to a property of the instance. | |
__gt__(self,
other)
| |
__lt__(self,
other)
| |
__ne__(self,
other)
| |
A NullObject instance always has a truth-value of 'False' (like None has). | |
This function returns the official string representation of an instance | |
The informal representation is just 'empty' | |
| Method Details |
|---|
__init__(self,
session,
proxy,
classname,
definition)
|
__call__(self,
*args)
|
__cmp__(self,
other)
This function compares an instance with another object.
|
__coerce__(self, attr) |
__eq__(self,
other)
|
__getattr__(self,
attr)
This function simulates access to a property of the instance. While
'attr' is a reference property the instance itself will be returned,
changing the class to the referenced by the property. For all other
property-types None will be return
|
__gt__(self,
other)
|
__lt__(self,
other)
|
__ne__(self,
other)
|
__nonzero__(self)
A NullObject instance always has a truth-value of 'False' (like None
has). This is used for constructs like: "if x: ..."
|
__repr__(self)
This function returns the official string representation of an
instance
|
__str__(self)
The informal representation is just 'empty'
|
| Home | Trees | Index | Help |
|---|
| Generated by Epydoc 2.1 on Sun Oct 5 23:01:31 2008 | http://epydoc.sf.net |