Hello Guys,

 

I want to be able to check if a class has a certain property in its 'self'
scope, what's the best way to do this? I've seen a few examples of people
using a try: block to test if the variable exists but to be honest, this
seems a little bit verbose, do we not have a better method of checking for
its existence?

 

Cheers,

 

Rob

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to