Skip to content

Commit ef5ce47

Browse files
committed
partial_dealloc
1 parent 9b1fe80 commit ef5ce47

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Modules/_functoolsmodule.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,8 +328,9 @@ partial_traverse(partialobject *pto, visitproc visit, void *arg)
328328
}
329329

330330
static void
331-
partial_dealloc(partialobject *pto)
331+
partial_dealloc(PyObject *self)
332332
{
333+
partialobject *pto = (partialobject *)self;
333334
PyTypeObject *tp = Py_TYPE(pto);
334335
/* bpo-31095: UnTrack is needed before calling any callbacks */
335336
PyObject_GC_UnTrack(pto);

0 commit comments

Comments
 (0)