python 2.4 + gcc 4.2 fix
This commit is contained in:
1 parent
30bfe7c371
commit
8126ba895a
1 file changed
+1
-1
@@ -1582,7 +1582,7 @@ static PyObject*\n%s(%s *self)
|
||||
except utils.SkipWrapper:
|
||||
pass
|
||||
else:
|
||||
method_defs.append('{"__copy__", (PyCFunction) %s, METH_NOARGS, NULL},' % copy_wrapper_name)
|
||||
method_defs.append('{(char *) "__copy__", (PyCFunction) %s, METH_NOARGS, NULL},' % copy_wrapper_name)
|
||||
|
||||
## generate the method table
|
||||
code_sink.writeln("static PyMethodDef %s_methods[] = {" % (self.pystruct,))
|
||||
|
||||
Reference in new issue
Block a user