Trees | Indices | Help |
|
---|
|
object --+ | Anon
An object whose fields are the constructor keyword arguments. Requesting any other field returns None rather than raise NameError.
Example:
>>> x = Anon(stuff='x',n=5) >>> print x.stuff, x.n, x.whatever x, 5, None
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
Inherited from |
|
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
repr(x)
|
str(x)
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Thu Mar 15 15:30:13 2012 | http://epydoc.sourceforge.net |