Raymond Hettinger added the comment:

Sorry, this is just how expression lists work.  See Grammar/Grammar at 
https://hg.python.org/cpython/file/tip/Grammar/Grammar

This is really no different than: 
    for [k] is s: ...
or:
    [k, j] = s

> Why not set literals

Because sets are unordered and because it isn't needed.

----------
nosy: +rhettinger
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

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

Reply via email to