by ijl · 12y ago · 0 comments
Out[1]: False
Idiomatic Python may say "if not user_id:" and erroneously skip this.
Idiomatic test for `None` is:
if something is None: # ...