Skip to content

Commit bc51a8a

Browse files
committed
fix name of keyword parameter to gc.collect() (closes #28525)
Patch from vierja.
1 parent 071dec2 commit bc51a8a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/gc.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ The :mod:`gc` module provides the following functions:
3838
Returns true if automatic collection is enabled.
3939

4040

41-
.. function:: collect(generations=2)
41+
.. function:: collect(generation=2)
4242

4343
With no arguments, run a full collection. The optional argument *generation*
4444
may be an integer specifying which generation to collect (from 0 to 2). A

0 commit comments

Comments
 (0)