[Python-Dev] nonlocals() function? (original) (raw)
Nick Coghlan ncoghlan at gmail.com
Mon Apr 5 15:03:39 CEST 2010
- Previous message: [Python-Dev] nonlocals() function?
- Next message: [Python-Dev] nonlocals() function?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Greg Ewing wrote:
* Even though the order isn’t important for code, it’s convenient at the interactive prompt to see the methods of an item in alphabetical order for quick scanning. Since I suspect this is most people's main use for dir(), I think it's a good enough reason for leaving things as they are.
Yes, I was going to point out that I would personally be very annoyed if someone removed the automatic sorting from the output of dir() :)
Cheers, Nick.
-- Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
- Previous message: [Python-Dev] nonlocals() function?
- Next message: [Python-Dev] nonlocals() function?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]