Traversing the properties of a Class

EdG edquichan at
Thu Jan 18 18:27:33 CET 2007

I'm using Python version 2.4 and I created a class with some properties

def GetCallAmount(self):
        return somedata

def GetCallCurrency(self):
    return  somemoredata


CallAmount           = property(GetCallAmount,None,None,None)
CallCurrency         = property(GetCallCurrency, None, None, None)


For debugging purposes, I would like to traverse the class listing out
all the properties.

More information about the Python-list mailing list