]> granicus.if.org Git - python/commitdiff
#5018: remove confusing paragraph.
authorGeorg Brandl <georg@python.org>
Tue, 31 Mar 2009 22:40:16 +0000 (22:40 +0000)
committerGeorg Brandl <georg@python.org>
Tue, 31 Mar 2009 22:40:16 +0000 (22:40 +0000)
Doc/tutorial/datastructures.rst

index 0b7d7bc2cc5845a031b32e69655ab73d3ef5577f..ec62fad33b59bba5719fba0a2b2ae8699c156726 100644 (file)
@@ -401,13 +401,11 @@ The reverse operation is also possible::
 
    >>> x, y, z = t
 
-This is called, appropriately enough, *sequence unpacking*. Sequence unpacking
-requires the list of variables on the left to have the same number of elements
-as the length of the sequence.  Note that multiple assignment is really just a
-combination of tuple packing and sequence unpacking!
-
-There is a small bit of asymmetry here:  packing multiple values always creates
-a tuple, and unpacking works for any sequence.
+This is called, appropriately enough, *sequence unpacking* and works for any
+sequence on the right-hand side.  Sequence unpacking requires the list of
+variables on the left to have the same number of elements as the length of the
+sequence.  Note that multiple assignment is really just a combination of tuple
+packing and sequence unpacking!
 
 .. XXX Add a bit on the difference between tuples and lists.