Skip to content

Commit d4d97b3

Browse files
Use public PyObject_GC_Track
Co-authored-by: Kumar Aditya <[email protected]>
1 parent 742d283 commit d4d97b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Objects/genericaliasobject.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -677,7 +677,7 @@ ga_iter(PyObject *self) {
677677
if (gi == NULL)
678678
return NULL;
679679
gi->obj = Py_NewRef(self);
680-
_PyObject_GC_TRACK(gi);
680+
PyObject_GC_Track(gi);
681681
return (PyObject *)gi;
682682
}
683683

0 commit comments

Comments
 (0)