Mercurial > cpython-lru_cache-weakref
changeset 79338:cb2a8aefa0db
doc typo fixes
| author | Gregory P. Smith <greg@krypto.org> |
|---|---|
| date | Sun, 30 Sep 2012 10:36:24 -0700 |
| parents | d10a7c1ac3a7 (current diff) 4f09f93e86b5 (diff) |
| children | 6a358a4d2f75 |
| files | |
| diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/Doc/library/gc.rst Sun Sep 30 09:46:55 2012 -0700 +++ b/Doc/library/gc.rst Sun Sep 30 10:36:24 2012 -0700 @@ -189,13 +189,13 @@ after collection. The callbacks will be called with two arguments, *phase* and *info*. - *phase* can one of two values: + *phase* can be one of two values: "start": The garbage collection is about to start. "stop": The garbage collection has finished. - *info* provides more information for the callback. The following + *info* is a dict providing more information for the callback. The following keys are currently defined: "generation": The oldest generation being collected. @@ -203,7 +203,7 @@ "collected": When *phase* is "stop", the number of objects successfully collected. - "uncollectable": when *phase* is "stop", the number of objects + "uncollectable": When *phase* is "stop", the number of objects that could not be collected and were put in :data:`garbage`. Applications can add their own callbacks to this list. The primary
