In message <mailman.2146.1246002542.8015.python-l...@python.org>, João Valverde 
wrote:

> But a dict can't be used to implement a (sorted) table ADT.

for key in sorted(the_dict.keys(), cmp = ... whatever ordering criteria you 
like ...) :
    ... do something with the_dict[key] ...
#end for


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to