summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2002-05-23 15:51:20 (GMT)
committerTim Peters <tim.peters@gmail.com>2002-05-23 15:51:20 (GMT)
commitbf9cb3ff1a16ef71888a27a1bec7caa08cda7c44 (patch)
treedb38679b231c885cb669b9a43b541bc04cd430c2
parentc9ca5c82f9fef808b28e923148c5f6459e529c9f (diff)
downloadcpython-bf9cb3ff1a16ef71888a27a1bec7caa08cda7c44.zip
cpython-bf9cb3ff1a16ef71888a27a1bec7caa08cda7c44.tar.gz
cpython-bf9cb3ff1a16ef71888a27a1bec7caa08cda7c44.tar.bz2
Use function instead of macro spellings for PyObject_memorystuff.
-rw-r--r--Objects/xxobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/xxobject.c b/Objects/xxobject.c
index 21a00b0..117714a 100644
--- a/Objects/xxobject.c
+++ b/Objects/xxobject.c
@@ -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 *