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().
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from dict:
__cmp__,
__contains__,
__delitem__,
__eq__,
__ge__,
__getattribute__,
__getitem__,
__gt__,
__hash__,
__init__,
__le__,
__len__,
__lt__,
__ne__,
__new__,
__repr__,
__setitem__,
clear,
copy,
fromkeys,
get,
has_key,
pop,
popitem,
setdefault,
update
Inherited from object:
__delattr__,
__reduce__,
__reduce_ex__,
__setattr__,
__str__
|