In message <[email protected]>, 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
