Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b679137

Browse files
authored
bpo-39322: Add gc.is_finalized to the gc module docstring (GH-18000)
1 parent a2ec3f0 commit b679137

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Modules/gcmodule.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1961,6 +1961,7 @@ PyDoc_STRVAR(gc__doc__,
19611961
"get_threshold() -- Return the current the collection thresholds.\n"
19621962
"get_objects() -- Return a list of all objects tracked by the collector.\n"
19631963
"is_tracked() -- Returns true if a given object is tracked.\n"
1964+
"is_finalized() -- Returns true if a given object has been already finalized.\n"
19641965
"get_referrers() -- Return the list of objects that refer to an object.\n"
19651966
"get_referents() -- Return the list of objects that an object refers to.\n"
19661967
"freeze() -- Freeze all tracked objects and ignore them for future collections.\n"

0 commit comments

Comments
 (0)