From bc51a8af254ddc2c5074cc3914ffc818f401923c Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Mon, 24 Oct 2016 23:00:03 -0700 Subject: fix name of keyword parameter to gc.collect() (closes #28525) Patch from vierja. --- Doc/library/gc.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v0.12