[issue23275] Can assign [] = (), but not () = []

R. David Murray report at bugs.python.org
Mon Jan 19 20:22:23 CET 2015


R. David Murray added the comment:

My guess is that it is not worth complicating the parser in order to make these two cases consistent, and it should be treated as a doc error.  We'll see what other developers think.

----------
nosy: +r.david.murray

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23275>
_______________________________________


More information about the Python-bugs-list mailing list