Home | Trees | Indices | Help |
|
---|
|
object --+ | dict --+ | OrderedDict
This implementation of a dictionary keeps track of the order in which keys were inserted.
|
|||
new empty dictionary |
|
||
|
|||
|
|||
None |
|
||
list of D's (key, value) pairs, as 2-tuples |
|
||
list of D's keys |
|
||
(k, v), remove and return some (key, value) pair as a |
|
||
D.get(k,d), also set D[k]=d if k not in D |
|
||
None |
|
||
list of D's values |
|
||
|
|||
|
|||
Inherited from Inherited from |
|
|||
Inherited from |
|
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
del x[y]
|
x[i]=y
|
Remove all items from D.
|
|
|
2-tuple; but raise KeyError if D is empty
|
|
Update D from E and F: for k in E: D[k] = E[k] (if E has keys else: for (k, v) in E: D[k] = v) then: for k in F: D[k] = F[k]
|
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0beta1 on Wed Aug 27 15:08:52 2008 | http://epydoc.sourceforge.net |