Message234361
It seems that assigning to [] is the odd one out in this case. Why is this even possible?
>>> [] = ()
>>> [] = {}
>>> [] = set()
>>> list() = ()
File "<stdin>", line 1
SyntaxError: can't assign to function call
>>> () = []
File "<stdin>", line 1
SyntaxError: can't assign to ()
>>> {} = []
File "<stdin>", line 1
SyntaxError: can't assign to literal
>>> set() = []
File "<stdin>", line 1
SyntaxError: can't assign to function call
>>> |
|
Date |
User |
Action |
Args |
2015-01-20 09:25:19 | Kyle.Buzsaki | set | recipients:
+ Kyle.Buzsaki, rhettinger, Devin Jeanpierre, r.david.murray, Cesar.Kawakami |
2015-01-20 09:25:19 | Kyle.Buzsaki | set | messageid: <1421745919.75.0.774207113291.issue23275@psf.upfronthosting.co.za> |
2015-01-20 09:25:19 | Kyle.Buzsaki | link | issue23275 messages |
2015-01-20 09:25:19 | Kyle.Buzsaki | create | |
|