]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-39322: Add gc.is_finalized to the gc module docstring (GH-18000)
authorPablo Galindo <Pablogsal@gmail.com>
Tue, 14 Jan 2020 17:38:15 +0000 (17:38 +0000)
committerGitHub <noreply@github.com>
Tue, 14 Jan 2020 17:38:15 +0000 (17:38 +0000)
Modules/gcmodule.c

index 4ad9d228f5acc474b00f564abf71ae2ee541408d..aacdb3f45a17902d267a95ebc7e4b43cc0ee71bd 100644 (file)
@@ -1961,6 +1961,7 @@ PyDoc_STRVAR(gc__doc__,
 "get_threshold() -- Return the current the collection thresholds.\n"
 "get_objects() -- Return a list of all objects tracked by the collector.\n"
 "is_tracked() -- Returns true if a given object is tracked.\n"
+"is_finalized() -- Returns true if a given object has been already finalized.\n"
 "get_referrers() -- Return the list of objects that refer to an object.\n"
 "get_referents() -- Return the list of objects that an object refers to.\n"
 "freeze() -- Freeze all tracked objects and ignore them for future collections.\n"