summaryrefslogtreecommitdiffstats
path: root/Doc/reference
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2011-03-06 10:12:42 (GMT)
committerGeorg Brandl <georg@python.org>2011-03-06 10:12:42 (GMT)
commit891391bf68e66bc441d8c6fc49ab1cf657e394bd (patch)
treefe893ef7d37a765d7463184a9e5249d9c5720b3a /Doc/reference
parent13039c87f14aeed325bcb5fadd202922a614957b (diff)
parent1d0a0f50606835198b0e1935a9761f3c95fef350 (diff)
downloadcpython-891391bf68e66bc441d8c6fc49ab1cf657e394bd.zip
cpython-891391bf68e66bc441d8c6fc49ab1cf657e394bd.tar.gz
cpython-891391bf68e66bc441d8c6fc49ab1cf657e394bd.tar.bz2
Merge doc fixes.
Diffstat (limited to 'Doc/reference')
-rw-r--r--Doc/reference/simple_stmts.rst10
1 files changed, 0 insertions, 10 deletions
diff --git a/Doc/reference/simple_stmts.rst b/Doc/reference/simple_stmts.rst
index 0aadbb9..a375117 100644
--- a/Doc/reference/simple_stmts.rst
+++ b/Doc/reference/simple_stmts.rst
@@ -119,9 +119,6 @@ square brackets, is recursively defined as follows.
* If the target list is a comma-separated list of targets: The object must be an
iterable with the same number of items as there are targets in the target list,
and the items are assigned, from left to right, to the corresponding targets.
- (This rule is relaxed as of Python 1.5; in earlier versions, the object had to
- be a tuple. Since strings are sequences, an assignment like ``a, b = "xy"`` is
- now legal as long as the string has the right length.)
* If the target list contains one target prefixed with an asterisk, called a
"starred" target: The object must be a sequence with at least as many items
@@ -991,10 +988,3 @@ pre-existing bindings in the local scope.
:pep:`3104` - Access to Names in Outer Scopes
The specification for the :keyword:`nonlocal` statement.
-
-
-.. rubric:: Footnotes
-
-.. [#] It may occur within an :keyword:`except` or :keyword:`else` clause. The
- restriction on occurring in the :keyword:`try` clause is implementor's
- laziness and will eventually be lifted.