Kent Engström <k...@lysator.liu.se> added the comment: Is should have mentioned that we're discussion a section of the tutorial concerned with dictionaries. It is not a section on lists, sequences or sorting as such.
My colleague, who asked me for help after getting confused by sort, was trying to loop over the keys in the dictionary in sorted order. In that context, sorted is superior to sort. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8267> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com