mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
fix name of keyword parameter to gc.collect() (closes #28525)
Patch from vierja.
This commit is contained in:
parent
071dec2027
commit
bc51a8af25
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue