Home | Trees | Indices | Help |
|
---|
|
object --+ | dict --+ | SortedDict
A very rudamentary sorted dictionary, whose main purpose is to allow dictionaries to be displayed in a consistent order in regression tests. keys(), items(), values(), iter*(), and __repr__ all sort their return values before returning them. (note that the sort order for values() does *not* correspond to the sort order for keys(). I.e., zip(d.keys(), d.values()) is not necessarily equal to d.items().
|
|||
list of D's keys |
|
||
list of D's (key, value) pairs, as 2-tuples |
|
||
list of D's values |
|
||
an iterator over the keys of D |
|
||
an iterator over the (key, value) items of D |
|
||
an iterator over the values of D |
|
||
|
|||
|
|||
Inherited from Inherited from |
|
|||
Inherited from |
|
|
|
|
|
|
|
iter(x)
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0beta1 on Wed Aug 27 15:08:52 2008 | http://epydoc.sourceforge.net |