summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Doc/library/gc.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/gc.rst b/Doc/library/gc.rst
index 4af16a9dfd..87d682445b 100644
--- a/Doc/library/gc.rst
+++ b/Doc/library/gc.rst
@@ -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