New submission from Mitchell Model <m...@acm.org>:

The datastructures section of the tutorial states with respect to 
"sequence unpacking" that "there is a small bit of asymmetry here: packing 
multiple values always creates a tuple, and unpacking works for any 
sequence". This is too general, as shown by the definition of assignment 
statement target in the simple_stmts section of the reference shows: 
tuples and lists are the only kinds of sequences that can appear on the 
left-hand side of an assignment statement.

----------
assignee: georg.brandl
components: Documentation
messages: 80307
nosy: MLModel, georg.brandl
severity: normal
status: open
title: Overly general claim about sequence unpacking in tutorial
versions: Python 2.6, Python 2.7, Python 3.0, Python 3.1

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue5018>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to