history of del ListItem[x]

Aahz Maruch aahz at panix.com
Sat Sep 22 12:30:31 EDT 2001


In article <oe5p7.594748$lq1.128096085 at typhoon.austin.rr.com>,
Maan Hamze <mmhamze at pleiades.net> wrote:
>
>This is out of curiousity only:
>Say we have a list List
>To delete an item x from a list we use:
>del List[x]
>
>One expects from Python:
>List.Delete[x]

Note that in Python 2.2 you'll be able to subclass from list to do this
if you want.
-- 
                      --- Aahz  <*>  (Copyright 2001 by aahz at pobox.com)

Hugs and backrubs -- I break Rule 6                 http://www.rahul.net/aahz/
Androgynous poly kinky vanilla queer het Pythonista   

We must not let the evil of a few trample the freedoms of the many.



More information about the Python-list mailing list