[Python-Dev] decorate-sort-undecorate
Barry Warsaw
barry at python.org
Wed Oct 15 13:35:53 EDT 2003
More information about the Python-Dev mailing list
Wed Oct 15 13:35:53 EDT 2003
- Previous message: [Python-Dev] decorate-sort-undecorate
- Next message: [Python-Dev] decorate-sort-undecorate
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
While we're hacking on [].sort(), how horrible would it be if we modified it to return self instead of None? I don't mind the sort-in-place behavior, but it's just so inconvenient that it doesn't return anything useful. I know it would be better if it returned a new list, but practicality beats purity. <wink> -Barry -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 307 bytes Desc: This is a digitally signed message part Url : http://mail.python.org/pipermail/python-dev/attachments/20031015/e434ed8a/attachment.bin
- Previous message: [Python-Dev] decorate-sort-undecorate
- Next message: [Python-Dev] decorate-sort-undecorate
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list