summaryrefslogtreecommitdiffstats
path: root/Modules/gcmodule.c
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2020-01-14 17:38:15 (GMT)
committerGitHub <noreply@github.com>2020-01-14 17:38:15 (GMT)
commitb6791375b2ff86ea07f068fb53d9575c337eaa5b (patch)
tree6d4473ba57ec9789a6ecec2568b48920f874a94c /Modules/gcmodule.c
parenta2ec3f07f7f028ff6229d6be2a7cfbda1f4efaeb (diff)
downloadcpython-b6791375b2ff86ea07f068fb53d9575c337eaa5b.zip
cpython-b6791375b2ff86ea07f068fb53d9575c337eaa5b.tar.gz
cpython-b6791375b2ff86ea07f068fb53d9575c337eaa5b.tar.bz2
bpo-39322: Add gc.is_finalized to the gc module docstring (GH-18000)
Diffstat (limited to 'Modules/gcmodule.c')
-rw-r--r--Modules/gcmodule.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/gcmodule.c b/Modules/gcmodule.c
index 4ad9d22..aacdb3f 100644
--- a/Modules/gcmodule.c
+++ b/Modules/gcmodule.c
@@ -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"