Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
exogen
on May 27, 2015
|
parent
|
context
|
favorite
| on:
Python bug: Can assign [] = (), but not () = []
But, like the parent said, in Python 3:
>>> (False, True) = (True, False) File "<stdin>", line 1 SyntaxError: can't assign to keyword
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: