Y
Hacker News
new
|
ask
|
show
|
jobs
by
anttihaapala
1717 days ago
... and yet, it is a SyntaxError. False = True = None works in Python 2, and it is just because the separate Boolean type was a late addition.
1 comments
klyrs
1717 days ago
Oops, yep. I've seen somebody overwrite False in the wild, but I thought None was writable too. Glad for that smidgen of sanity...
link