classmethod and zope

Kevin J Thomson kjt at clmac-kjt.st-and.ac.uk
Tue May 6 06:39:10 EDT 2003


Hi does anybody know if there is anything special you have to do when you create a class in a zope product
 that uses the "classmethod" key word.

when I import the class from the command line the class import fine, when I call it from the zope product and restart zope
I get an error saying NameError: 'classmethod' is not defined

Cheers for any help

Kevin Thomson

kjt at st-andrews.ac.uk




More information about the Python-list mailing list