Notes

Source: 📖 Effective Python item 2


Use inline negation over negation of positive expressions

if a is not b is preferable to if not a is b.