Skip to content

Commit c9132fd

Browse files
committed
Add missing tp_reachable
1 parent be00d82 commit c9132fd

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Objects/funcobject.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1738,6 +1738,7 @@ PyTypeObject PyClassMethod_Type = {
17381738
PyType_GenericAlloc, /* tp_alloc */
17391739
PyType_GenericNew, /* tp_new */
17401740
PyObject_GC_Del, /* tp_free */
1741+
.tp_reachable = _PyObject_ReachableVisitType,
17411742
};
17421743

17431744
PyObject *

0 commit comments

Comments
 (0)