3 Mar
2003
3 Mar
'03
4:33 p.m.
Andreas Jung wrote:
hasattr()
--On Montag, 3. März 2003 15:34 +0100 "Jens JB. Bjerre" <jens@bkinformatik.dk> wrote:
Is there anyway how I can test, if an object (of any kind) has a special property.?
Depending on your problem hasProperty() will be better than hasattr(), because hasattr() returns true for acquired properties as well. -mj -- Deutsche/German Zope User Group (DZUG) http://www.dzug.org/Members/mjablonski/