Source

talks / python-gotchas / src / eq_fixed.py

1
2
3
4
5
6
from ae import AE

ae = AE(1)
if ae is not None:  # <1>
    print('is fine')
# => is fine