psyco+webpy
Amaury Forgeot d'Arc
afa at neuf.fr
Mon Jun 26 17:35:29 EDT 2006
a a écrit :
>> psyco.cannotcompile(??.GET) this gives an error message
> invalid syntax
Oh, I assumed that you would replace the ?? by the correct expression.
You need to specify the GET function of the class you've written in the
file "codepsyco.py" (I don't know the class name. It does not appear in
the error traceback)
Depending on your architecture, this may be written this way:
import codepsyco
psyco.cannotcompile(codepsyco.YourClassHere.GET)
--
Amaury
More information about the Python-list
mailing list