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

Berker Peksag report at bugs.python.org
Wed Apr 22 11:05:59 CEST 2015


Berker Peksag added the comment:

I don't have a strong opinion on this, but here is a patch to make () = [] a valid assignment.

----------
keywords: +patch
nosy: +berker.peksag
stage:  -> patch review
versions: +Python 3.5
Added file: http://bugs.python.org/file39165/issue23275.diff

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


More information about the Python-bugs-list mailing list