deleting attributes
Skip Montanaro
skip at pobox.com
Mon Aug 26 22:39:05 EDT 2002
Rob> I was just reading through the Python Tutorial. In section 9.2
Rob> (python Scopes and Name Spaces) it says you can delete attributes
Rob> (eg del modname.the_answer).
Rob> This seems dangerous to me.
One of Python's basic principles is "We're all adults here." Based on your
operational definition definition of the word "dangerous", there are
probably lots of potential pitfalls in the language.
--
Skip Montanaro
skip at pobox.com
consulting: http://manatee.mojam.com/~skip/resume.html
More information about the Python-list
mailing list