| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
dict --+
|
Storage
A Storage object is like a dictionary except `obj.foo` can be used in addition to `obj['foo']`.
>>> o = Storage(a=1) >>> o.a 1 >>> o['a'] 1 >>> o.a = 2 >>> o['a'] 2 >>> del o.a >>> o.a None
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
x.__setattr__('name', value) <==> x.name = value
|
x.__delattr__('name') <==> del x.name
|
repr(x)
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Tue Mar 25 20:33:08 2008 | http://epydoc.sourceforge.net |