Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
masklinn
on May 27, 2015
|
parent
|
context
|
favorite
| on:
Python bug: Can assign [] = (), but not () = []
The second line doesn't do anything though, since you already reassigned True to False it's like assigning False to False.
You could write (False, True) = (True, False) though.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
You could write (False, True) = (True, False) though.