sort() doesn't work on dist.keys() ?
Sean Ross
sross at connectmail.carleton.ca
Thu Jul 10 16:31:13 EDT 2003
"Steve Pinard" <spinard at ra.rockwell.com> wrote in message
news:6cd58b6.0307101214.34e99f2a at posting.google.com...
> I would expect when
> I aply sort() to that list, I would get an in-place sorted
> version of that list. Why do I get None?
Apparently, you get None to remind you that you've done an inplace sort,
see
http://www.python.org/cgi-bin/faqw.py?req=show&file=faq06.020.htp
More information about the Python-list
mailing list