Commit 005fc331 authored by Benjamin Peterson's avatar Benjamin Peterson

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

Patch from vierja.
parent 6aad8624
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment