diff options
author | Benjamin Peterson <benjamin@python.org> | 2016-10-24 23:00:03 -0700 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2016-10-24 23:00:03 -0700 |
commit | bc51a8af254ddc2c5074cc3914ffc818f401923c (patch) | |
tree | 0b2c88248d224f6d69d265b92e2e6d52caa0d7c3 | |
parent | 071dec2027a0ec5515af7e5c1317e78b0dfb347d (diff) | |
download | cpython-git-bc51a8af254ddc2c5074cc3914ffc818f401923c.tar.gz |
fix name of keyword parameter to gc.collect() (closes #28525)
Patch from vierja.
-rw-r--r-- | Doc/library/gc.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/gc.rst b/Doc/library/gc.rst index 4af16a9dfd..87d682445b 100644 --- a/Doc/library/gc.rst +++ b/Doc/library/gc.rst @@ -38,7 +38,7 @@ The :mod:`gc` module provides the following functions: Returns true if automatic collection is enabled. -.. function:: collect(generations=2) +.. function:: collect(generation=2) With no arguments, run a full collection. The optional argument *generation* may be an integer specifying which generation to collect (from 0 to 2). A |