[Python-Dev] collections module

Damien Morton dmorton at lab49.com
Sat Jan 10 17:22:10 EST 2004

"""Indeed, I would always implement lists as .append/.pop(0) - it would
not have occurred to my mind to write them as insert(0, x)/.pop(), as I
consider .insert on a list unintuitive. """

How about list.prepend()

Damien Morton
Lab49, Inc.

Phone: 212 966 3468
Email: dmorton at lab49.com
Web  : www.lab49.com  

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-dev/attachments/20040110/2e16c50d/attachment.html

More information about the Python-Dev mailing list