summaryrefslogtreecommitdiff
path: root/Modules/gcmodule.c
diff options
context:
space:
mode:
authorR David Murray <rdmurray@bitdance.com>2013-12-26 15:11:28 -0500
committerR David Murray <rdmurray@bitdance.com>2013-12-26 15:11:28 -0500
commit0e814634e5b279b3d8eb4987dc5039a0e8ec270e (patch)
tree60d775b28507b4d0ea3b48f9c5b7586b2022219f /Modules/gcmodule.c
parente190fac5f957c6da69fa7401a290291e89904879 (diff)
downloadcpython-git-0e814634e5b279b3d8eb4987dc5039a0e8ec270e.tar.gz
whatsnew for gc.get_stats, plus doc tweaks.
Clarified the "At the moment" wording, and added the get_stats entry in the module summary that Serhiy noted was missing at the end of issue 16351. Given that pydoc lists all the function docstrings, I'm not sure that module summary section is actually needed; but, it is probably better to address that when the module is converted to use Argument Clinic. In the meantime we should keep the list complete.
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 a84d752ffa..d5fd9df521 100644
--- a/Modules/gcmodule.c
+++ b/Modules/gcmodule.c
@@ -1498,6 +1498,7 @@ PyDoc_STRVAR(gc__doc__,
"isenabled() -- Returns true if automatic collection is enabled.\n"
"collect() -- Do a full collection right now.\n"
"get_count() -- Return the current collection counts.\n"
+"get_stats() -- Return list of dictionaries containing per-generation stats.\n"
"set_debug() -- Set debugging flags.\n"
"get_debug() -- Get debugging flags.\n"
"set_threshold() -- Set the collection thresholds.\n"