[Python-Dev] decorate-sort-undecorate
Barry Warsaw
barry at python.org
Wed Oct 15 13:35:53 EDT 2003
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
More information about the Python-Dev
mailing list