Kaydet (Commit) c9497ba0 authored tarafından Georg Brandl's avatar Georg Brandl

#11400: remove reference to pre-1.5 assignment behavior.

üst 3a5508e2
...@@ -121,9 +121,6 @@ Assignment of an object to a target list is recursively defined as follows. ...@@ -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 * 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, 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. 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. Assignment of an object to a single target is recursively defined as follows.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment