| Home | Trees | Indices | Help |
|
|---|
|
|
A simple structure class, taking keyword args and assigning them to attributes.
For instance:
s = Struct(foo='a',bar=1) >>> s.foo 'a' >>> s.bar 1
From http://www.norvig.com/python-iaq.html
|
|||
|
|||
|
|||
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Thu Feb 21 15:25:06 2008 | http://epydoc.sourceforge.net |