fix name of keyword parameter to gc.collect() (closes #28525)

Patch from vierja.
This commit is contained in:
Benjamin Peterson 2016-10-24 23:00:03 -07:00
parent 071dec2027
commit bc51a8af25

View 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