summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2011-03-06 10:48:43 +0100
committerGeorg Brandl <georg@python.org>2011-03-06 10:48:43 +0100
commitc9497ba06e29a21c46f1881eaed2251d10b358bc (patch)
treef94bf50ddffbdcf10f32fb02c1adcffca1faf141
parent3a5508e2c075405f35b5c32f413445b9e875c92c (diff)
downloadcpython-git-c9497ba06e29a21c46f1881eaed2251d10b358bc.tar.gz
#11400: remove reference to pre-1.5 assignment behavior.
-rw-r--r--Doc/reference/simple_stmts.rst3
1 files changed, 0 insertions, 3 deletions
diff --git a/Doc/reference/simple_stmts.rst b/Doc/reference/simple_stmts.rst
index c0d818241b..60e0e993e4 100644
--- a/Doc/reference/simple_stmts.rst
+++ b/Doc/reference/simple_stmts.rst
@@ -121,9 +121,6 @@ Assignment of an object to a target list 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.)
Assignment of an object to a single target is recursively defined as follows.