aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/python/pgmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/interfaces/python/pgmodule.c')
-rw-r--r--src/interfaces/python/pgmodule.c2
1 files changed, 1 insertions, 1 deletions
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;