]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Use function instead of macro spellings for PyObject_memorystuff.
authorTim Peters <tim.peters@gmail.com>
Thu, 23 May 2002 15:51:20 +0000 (15:51 +0000)
committerTim Peters <tim.peters@gmail.com>
Thu, 23 May 2002 15:51:20 +0000 (15:51 +0000)
Objects/xxobject.c

index 21a00b09e19d2fe6df49883a83b96aed3ad2ca3f..117714a7b67ec1ce01b57e7d365a73845f07e95c 100644 (file)
@@ -26,7 +26,7 @@ static xxobject *
 newxxobject(PyObject *arg)
 {
        xxobject *xp;
-       xp = PyObject_NEW(xxobject, &Xxtype);
+       xp = PyObject_New(xxobject, &Xxtype);
        if (xp == NULL)
                return NULL;
        xp->x_attr = NULL;
@@ -39,7 +39,7 @@ static void
 xx_dealloc(xxobject *xp)
 {
        Py_XDECREF(xp->x_attr);
-       PyObject_DEL(xp);
+       PyObject_Del(xp);
 }
 
 static PyObject *