Skip to content

Commit 833a85e

Browse files
committed
use the correct slot...
1 parent 8e80641 commit 833a85e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Modules/_tkinter.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3295,7 +3295,7 @@ static PyMethodDef Tktt_methods[] =
32953295
};
32963296

32973297
static PyType_Slot Tktt_Type_slots[] = {
3298-
{Py_tp_dealloc, Tktt_Clear},
3298+
{Py_tp_clear, Tktt_Clear},
32993299
{Py_tp_dealloc, Tktt_Dealloc},
33003300
{Py_tp_traverse, Tktt_Traverse},
33013301
{Py_tp_repr, Tktt_Repr},
@@ -3356,7 +3356,7 @@ static PyMethodDef Tkapp_methods[] =
33563356
};
33573357

33583358
static PyType_Slot Tkapp_Type_slots[] = {
3359-
{Py_tp_dealloc, Tkapp_Clear},
3359+
{Py_tp_clear, Tkapp_Clear},
33603360
{Py_tp_dealloc, Tkapp_Dealloc},
33613361
{Py_tp_traverse, Tkapp_Traverse},
33623362
{Py_tp_methods, Tkapp_methods},

0 commit comments

Comments
 (0)