summaryrefslogtreecommitdiffstats
path: root/Doc/reference
diff options
context:
space:
mode:
authorGregory P. Smith <greg@krypto.org>2011-03-10 19:28:50 (GMT)
committerGregory P. Smith <greg@krypto.org>2011-03-10 19:28:50 (GMT)
commitc5425472110f69b444ae224e8fd97c14ee9fcb0f (patch)
tree2350487f107b3dae5ecdba08afb435982b2e110c /Doc/reference
parentc60137b2729745defea74e7f957d8e11ba73132f (diff)
downloadcpython-c5425472110f69b444ae224e8fd97c14ee9fcb0f.zip
cpython-c5425472110f69b444ae224e8fd97c14ee9fcb0f.tar.gz
cpython-c5425472110f69b444ae224e8fd97c14ee9fcb0f.tar.bz2
Reword the finalization note.
Diffstat (limited to 'Doc/reference')
-rw-r--r--Doc/reference/datamodel.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst
index 1126944..dca01de 100644
--- a/Doc/reference/datamodel.rst
+++ b/Doc/reference/datamodel.rst
@@ -69,8 +69,8 @@ are still reachable.
containing circular references. See the documentation of the :mod:`gc`
module for information on controlling the collection of cyclic garbage.
Other implementations act differently and CPython may change.
- Do not write code that depends on immediate finalization of objects
- when they become unreachable (ex: always close your files).
+ Do not depend on immediate finalization of objects when they become
+ unreachable (ex: always close files).
Note that the use of the implementation's tracing or debugging facilities may
keep objects alive that would normally be collectable. Also note that catching