[Python-Dev] collections module (original) (raw)
Damien Morton dmorton at lab49.com
Sat Jan 10 17:22:10 EST 2004
- Previous message: [Python-Dev] collections module
- Next message: [Python-Dev] Weekly Python Bug/Patch Summary
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
"""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
- Previous message: [Python-Dev] collections module
- Next message: [Python-Dev] Weekly Python Bug/Patch Summary
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]