OSDN Git Service

Fox for old python PyMem_DEL, was PyMem_Del,
authorBruce Momjian <bruce@momjian.us>
Fri, 29 Mar 2002 07:45:39 +0000 (07:45 +0000)
committerBruce Momjian <bruce@momjian.us>
Fri, 29 Mar 2002 07:45:39 +0000 (07:45 +0000)
src/interfaces/python/pgmodule.c

index 3141a7a..df68590 100644 (file)
@@ -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;