diff options
author | Georg Brandl <georg@python.org> | 2011-03-06 09:48:43 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2011-03-06 09:48:43 (GMT) |
commit | 310337f82883f6b9e474757d303238af171ba1b4 (patch) | |
tree | ccb8ff46fba39bc1f24e2252bb612f8d06a318c1 /Doc/reference | |
parent | 8256242b30005b8a1b52e79149558ad36f1307d6 (diff) | |
download | cpython-310337f82883f6b9e474757d303238af171ba1b4.zip cpython-310337f82883f6b9e474757d303238af171ba1b4.tar.gz cpython-310337f82883f6b9e474757d303238af171ba1b4.tar.bz2 |
#11400: remove reference to pre-1.5 assignment behavior.
Diffstat (limited to 'Doc/reference')
-rw-r--r-- | Doc/reference/simple_stmts.rst | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Doc/reference/simple_stmts.rst b/Doc/reference/simple_stmts.rst index 30861d4..722ee77 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 |