diff options
author | Benjamin Peterson <benjamin@python.org> | 2016-10-25 06:00:03 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2016-10-25 06:00:03 (GMT) |
commit | bc51a8af254ddc2c5074cc3914ffc818f401923c (patch) | |
tree | 0b2c88248d224f6d69d265b92e2e6d52caa0d7c3 /Doc/library/gc.rst | |
parent | 071dec2027a0ec5515af7e5c1317e78b0dfb347d (diff) | |
download | cpython-bc51a8af254ddc2c5074cc3914ffc818f401923c.zip cpython-bc51a8af254ddc2c5074cc3914ffc818f401923c.tar.gz cpython-bc51a8af254ddc2c5074cc3914ffc818f401923c.tar.bz2 |
fix name of keyword parameter to gc.collect() (closes #28525)
Patch from vierja.
Diffstat (limited to 'Doc/library/gc.rst')
-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 4af16a9..87d6824 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 |