diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2014-02-04 08:33:05 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2014-02-04 08:33:05 (GMT) |
commit | ca7b04644ce7cbc828a28f47be421029acb38eb7 (patch) | |
tree | 0a5218b57db2d7b322b1dec957872319f3bed533 /Modules | |
parent | 83bdfa08f7747466d0925323a7d94a26470fcd32 (diff) | |
download | cpython-ca7b04644ce7cbc828a28f47be421029acb38eb7.zip cpython-ca7b04644ce7cbc828a28f47be421029acb38eb7.tar.gz cpython-ca7b04644ce7cbc828a28f47be421029acb38eb7.tar.bz2 |
Issue #17162: Add PyType_GetSlot.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/xxlimited.c | 2 |
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 * |