The del statement
Marco Aschwanden
PPNTWIMBXFFC at spammotel.com
Tue Dec 5 04:28:03 EST 2006
> do you find the x[i] syntax for calling the getitem/setitem methods a
> bit awkward too? what about HTTP's use of "GET" and "POST" for most
> about everything ? ;-)
No. I like the x[i] syntax. I use it in every second row of my code and
getting an item like:
x.getitem(i)
would be a viable (in this case clumsy) way but here I find the introduced
syntax justified.
del on the other hand is used sparingly througout my code. If no del
keyword would exist, it wouldn't disturb me.
Marco
More information about the Python-list
mailing list