Reason #68 to switch to Python 3
bpython
>>> None < float('-inf')
True
bpython3
>>> None < float('-inf')
TypeError: unorderable types: NoneType() < float()
Written by Jordan Klassen
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Python
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#