]> granicus.if.org Git - python/commitdiff
fix name of keyword parameter to gc.collect() (closes #28525)
authorBenjamin Peterson <benjamin@python.org>
Tue, 25 Oct 2016 06:00:03 +0000 (23:00 -0700)
committerBenjamin Peterson <benjamin@python.org>
Tue, 25 Oct 2016 06:00:03 +0000 (23:00 -0700)
Patch from vierja.

Doc/library/gc.rst

index 4af16a9dfdb3413dc91e2d165e9ce9fb9b992a3d..87d682445bae2360ea5fe87716438a9baa022b8b 100644 (file)
@@ -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