[Python-checkins] cpython (2.7): remove trailing spaces.
gregory.p.smith
python-checkins at python.org
Wed Dec 18 20:25:51 CET 2013
http://hg.python.org/cpython/rev/0e7c4203bd79
changeset: 88045:0e7c4203bd79
branch: 2.7
parent: 88042:f0eed36bab4c
user: Gregory P. Smith <greg at krypto.org>
date: Wed Dec 18 11:25:26 2013 -0800
summary:
remove trailing spaces.
files:
Modules/gcmodule.c | 14 +++++++-------
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/Modules/gcmodule.c b/Modules/gcmodule.c
--- a/Modules/gcmodule.c
+++ b/Modules/gcmodule.c
@@ -113,7 +113,7 @@
/*
NOTE: about untracking of mutable objects.
-
+
Certain types of container cannot participate in a reference cycle, and
so do not need to be tracked by the garbage collector. Untracking these
objects reduces the cost of garbage collections. However, determining
@@ -131,10 +131,10 @@
not survive until garbage collection. It is therefore not worthwhile
to untrack eligible tuples at creation time.
- Instead, all tuples except the empty tuple are tracked when created.
- During garbage collection it is determined whether any surviving tuples
- can be untracked. A tuple can be untracked if all of its contents are
- already not tracked. Tuples are examined for untracking in all garbage
+ Instead, all tuples except the empty tuple are tracked when created.
+ During garbage collection it is determined whether any surviving tuples
+ can be untracked. A tuple can be untracked if all of its contents are
+ already not tracked. Tuples are examined for untracking in all garbage
collection cycles. It may take more than one cycle to untrack a tuple.
Dictionaries containing only immutable objects also do not need to be
@@ -147,8 +147,8 @@
The module provides the python function is_tracked(obj), which returns
the CURRENT tracking status of the object. Subsequent garbage
collections may change the tracking status of the object.
-
- Untracking of certain containers was introduced in issue #4688, and
+
+ Untracking of certain containers was introduced in issue #4688, and
the algorithm was refined in response to issue #14775.
*/
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list