[Pythonmac-SIG] METH_CLASS or METH_STATIC error when importing c
module
Frank Kauff
fkauff at duke.edu
Thu Apr 8 10:36:42 EDT 2004
Hi all,
I wrote my first extension module in c (following pretty much the
example in the Python documentation), and everything works fine under
linux.
Compiling and linking also goes without problems with python 2.3 in
Panther and Jaguar, but when I try to import the module it gives me:
ValueError: module functions cannot set METH_CLASS or METH_STATIC
Any help appreciated,
thanks,
Frank
More information about the Pythonmac-SIG
mailing list