[Zope] type in python methods

Juan Carlos Coruņa jcoruna@umd.es
Thu, 11 Jan 2001 14:08:48 +0100


How can I compare the type of 2 variables in a python method?

The instruction "if type(var1) == type(var2): ...." doesn't work.