Hacker News new | ask | show | jobs
by d0mine 4521 days ago
There is no `NULL` in Python. It is `None`.

Idiomatic test for `None` is:

   if something is None:
      # ...
It would be incorrect to use `if not something:` here.