From: Georg Brandl Date: Sun, 6 Mar 2011 09:48:43 +0000 (+0100) Subject: #11400: remove reference to pre-1.5 assignment behavior. X-Git-Tag: v3.2.1b1~342^2~8 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=310337f82883f6b9e474757d303238af171ba1b4;p=thirdparty%2FPython%2Fcpython.git #11400: remove reference to pre-1.5 assignment behavior. --- diff --git a/Doc/reference/simple_stmts.rst b/Doc/reference/simple_stmts.rst index 30861d4c6820..722ee7725e5a 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