diff options
author | Georg Brandl <georg@python.org> | 2010-03-21 09:02:59 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2010-03-21 09:02:59 (GMT) |
commit | 482b151caf5a222aa0aed04b2ebf8fab8bbd3ae6 (patch) | |
tree | 1c3a019e88e1d3d016c55002a98beecc96a2dac3 /Doc/reference | |
parent | f8754a60a80f255a18ad00ec6eac8764871ceca8 (diff) | |
download | cpython-482b151caf5a222aa0aed04b2ebf8fab8bbd3ae6.zip cpython-482b151caf5a222aa0aed04b2ebf8fab8bbd3ae6.tar.gz cpython-482b151caf5a222aa0aed04b2ebf8fab8bbd3ae6.tar.bz2 |
Fix some issues found by Jacques Ducasse on the docs list.
Diffstat (limited to 'Doc/reference')
-rw-r--r-- | Doc/reference/simple_stmts.rst | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/Doc/reference/simple_stmts.rst b/Doc/reference/simple_stmts.rst index 99ff248..e3b309c 100644 --- a/Doc/reference/simple_stmts.rst +++ b/Doc/reference/simple_stmts.rst @@ -146,16 +146,12 @@ Assignment of an object to a single target is recursively defined as follows. * Otherwise: the name is bound to the object in the global namespace or the outer namespace determined by :keyword:`nonlocal`, respectively. + .. index:: single: destructor + The name is rebound if it was already bound. This may cause the reference count for the object previously bound to the name to reach zero, causing the object to be deallocated and its destructor (if it has one) to be called. - .. index:: single: destructor - - The name is rebound if it was already bound. This may cause the reference count - for the object previously bound to the name to reach zero, causing the object to - be deallocated and its destructor (if it has one) to be called. - * If the target is a target list enclosed in parentheses or in square brackets: The object must be an iterable with the same number of items as there are targets in the target list, and its items are assigned, from left to right, |