summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2014-02-04 08:33:05 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2014-02-04 08:33:05 (GMT)
commitca7b04644ce7cbc828a28f47be421029acb38eb7 (patch)
tree0a5218b57db2d7b322b1dec957872319f3bed533 /Modules
parent83bdfa08f7747466d0925323a7d94a26470fcd32 (diff)
downloadcpython-ca7b04644ce7cbc828a28f47be421029acb38eb7.zip
cpython-ca7b04644ce7cbc828a28f47be421029acb38eb7.tar.gz
cpython-ca7b04644ce7cbc828a28f47be421029acb38eb7.tar.bz2
Issue #17162: Add PyType_GetSlot.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/xxlimited.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/xxlimited.c b/Modules/xxlimited.c
index 661b6e2..eecdab9 100644
--- a/Modules/xxlimited.c
+++ b/Modules/xxlimited.c
@@ -44,7 +44,7 @@ static void
Xxo_dealloc(XxoObject *self)
{
Py_XDECREF(self->x_attr);
- PyObject_Del(self);
+ ((freefunc)PyType_GetSlot(Py_TYPE(self), Py_tp_free))(self);
}
static PyObject *