ANSIfy functions that were hiding inside a macro.
This commit is contained in:
parent
8a3ebf8ca8
commit
c307352027
|
@ -1314,7 +1314,7 @@ instance_coerce(PyObject **pv, PyObject **pw)
|
|||
|
||||
|
||||
#define UNARY(funcname, methodname) \
|
||||
static PyObject *funcname(self) PyInstanceObject *self; { \
|
||||
static PyObject *funcname(PyInstanceObject *self) { \
|
||||
static PyObject *o; \
|
||||
if (o == NULL) o = PyString_InternFromString(methodname); \
|
||||
return generic_unary_op(self, o); \
|
||||
|
|
Loading…
Reference in New Issue