| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
dict --+
|
BaseDict
implements a dictionary that can be accessed by BaseDict[key] as well as by BaseDict.key to allow more pythonic access credits: BaseDict pattern at http://code.activestate.com/recipes/473790/ under PSF license
|
|||
new empty dictionary |
|
||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
| a shallow copy of D |
|
||
|
Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
x.__init__(...) initializes x; see help(type(x)) for signature
|
x.__setattr__('name', value) <==> x.name = value
|
setDict(name, val): Assign *val* to the key *name* of __dict__. >>> bd.setDict('height', 160) {} >>> bd.getDict()['height'] 160 |
Return the internal __dict__. >>> bd.setDict('height', 160) {} >>> bd.getDict()['height'] 160 |
Set the value of dict key *name* to *val*. Note this dict is not the __dict__. |
Return a copy.
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Wed Aug 01 23:31:54 2012 | http://epydoc.sourceforge.net |