deleting attributes

Rob Hall bloke at ii.net
Mon Aug 26 21:43:24 EDT 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