Skip to content

Commit 27fb67c

Browse files
Update Python/gc.c
Co-authored-by: Jelle Zijlstra <[email protected]>
1 parent cd45269 commit 27fb67c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Python/gc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1073,6 +1073,7 @@ handle_legacy_finalizers(PyThreadState *tstate,
10731073
/* Run first-time finalizers (if any) on all the objects in collectable.
10741074
* Note that this may remove some (or even all) of the objects from the
10751075
* list, due to refcounts falling to 0.
1076+
* Return 1 if any finalizers were run.
10761077
*/
10771078
static int
10781079
finalize_garbage(PyThreadState *tstate, PyGC_Head *collectable)

0 commit comments

Comments
 (0)