diff --git a/src/interfaces/python/pgmodule.c b/src/interfaces/python/pgmodule.c index 3141a7ac140..df685902531 100644 --- a/src/interfaces/python/pgmodule.c +++ b/src/interfaces/python/pgmodule.c @@ -37,7 +37,7 @@ /* PyObject_Del does not exist in older versions of Python. */ #if PY_VERSION_HEX < 0x01060000 -#define PyObject_Del(op) PyMem_Del((op)) +#define PyObject_Del(op) PyMem_DEL((op)) #endif static PyObject *PGError;