deleting attributes

Rob Hall bloke at ii.net
Tue Aug 27 03:43:24 CEST 2002


I was just reading through the Python Tutorial.  In section 9.2 (python
Scopes and Name Spaces) it says you can delete attributes (eg  del
modname.the_answer).

This seems dangerous to me.  Can anyone give me a legitimate reason or eg
for why you would want to do this?

Rob





More information about the Python-list mailing list