mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
Issue #17162: Add PyType_GetSlot.
This commit is contained in:
parent
83bdfa08f7
commit
ca7b04644c
6 changed files with 30 additions and 2 deletions
|
|
@ -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 *
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue