We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 482b0ee commit 730d450Copy full SHA for 730d450
Doc/library/gc.rst
@@ -42,8 +42,8 @@ The :mod:`gc` module provides the following functions:
42
43
With no arguments, run a full collection. The optional argument *generation*
44
may be an integer specifying which generation to collect (from 0 to 2). A
45
- :exc:`ValueError` is raised if the generation number is invalid. The number of
46
- unreachable objects found is returned.
+ :exc:`ValueError` is raised if the generation number is invalid. The sum of
+ collected objects and uncollectable objects is returned.
47
48
The free lists maintained for a number of built-in types are cleared
49
whenever a full collection or collection of the highest generation (2)
0 commit comments