delattr missing?

Steven Reiz (sreiz@aie.nl)
Fri, 12 Aug 1994 08:34:09 GMT

While manipulating class members by name, I noticed that there is:

a=getattr(instance, 'member') # a=instance.member
setattr(instance, 'member', a) # instance.member=a

but no function to do "del instance.member" by name. Am I the only
one to have stumbled onto this (minor) problem? Is there a way to do
it?