[Zope] getattr() vs. hasattr()

Peter Bengtsson peter@grenna.net
Thu, 12 Apr 2001 16:07:52 +0100


What's the difference between getattr() and hasattr()?
When do you use what? What's the different benefits?

Peter