Package qubx :: Module types :: Class Anon
[hide private]
[frames] | no frames]

Class Anon

object --+
         |
        Anon
Known Subclasses:

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
Instance Methods [hide private]
 
__getattr__(self, name)
 
__init__(self, *args, **kw)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
 
__repr__(self)
repr(x)
 
__str__(self)
str(x)
 
_find_arg_dicts(self, *args, **kw)
 
_str_indent(self, indent='')
 
clone(self, **kw)

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, *args, **kw)
(Constructor)

 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

__repr__(self)
(Representation operator)

 

repr(x)

Overrides: object.__repr__
(inherited documentation)

__str__(self)
(Informal representation operator)

 

str(x)

Overrides: object.__str__
(inherited documentation)