ok, so how do I return a sorted list without doing it in place
tjg at exceptionalminds.com
Sat Feb 17 01:20:24 CET 2001
On Fri, Feb 16, 2001 at 04:04:10PM -0800, Sean 'Shaleh' Perry wrote:
> I know I can do:
> list = dict.keys()
> but it is just plain annoying.
I agree. This has bitten me on the butt more than once. It also seems
somewhat unPythonic. Usually I expect what happens in Python, but that
sort process always strikes me as unexpected.
Timothy Grant tjg at exceptionalminds.com
Red Hat Certified Engineer www.exceptionalminds.com
Avalon Technology Group, Inc. (503) 246-3630
>>>>>>>>>>>>>Linux, because rebooting is *NOT* normal<<<<<<<<<
>>>>This machine was last rebooted: 31 days 4:30 hours ago<<
More information about the Python-list