Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
anttihaapala
4y ago
0 comments
Save
Share
... 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.
0 comments
1 comments · 1 top-level
top
newest
oldest
klyrs
4y 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...
j
/
k
navigate · click thread line to collapse