Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
anttihaapala
on Oct 11, 2021
|
parent
|
context
|
favorite
| on:
Understanding Python through its builtins
... 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.
klyrs
on Oct 11, 2021
[–]
Oops, yep. I've seen somebody overwrite False in the wild, but I thought None was writable too. Glad for that smidgen of sanity...
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: