We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c56b64 commit 812856bCopy full SHA for 812856b
Modules/_operator.c
@@ -1671,16 +1671,16 @@ methodcaller_clear(methodcallerobject *mc)
1671
if (mc->vectorcall_args != NULL) {
1672
PyMem_Free(mc->vectorcall_args);
1673
mc->vectorcall_args = 0;
1674
+ Py_CLEAR(mc->vectorcall_kwnames);
1675
}
- Py_CLEAR(mc->vectorcall_kwnames);
1676
1677
1678
static void
1679
methodcaller_dealloc(methodcallerobject *mc)
1680
{
1681
PyTypeObject *tp = Py_TYPE(mc);
1682
PyObject_GC_UnTrack(mc);
1683
- (void)methodcaller_clear(mc);
+ methodcaller_clear(mc);
1684
tp->tp_free(mc);
1685
Py_DECREF(tp);
1686
0 commit comments