blob: 2f86acf54670e4f8461d17f72d2948fb539aa1f3 (
plain)
1
2
3
|
Following this check blindly in weakly typed code base can create hard to debug issues. If the value
can be something else that is falsey but not an ``int`` (for example ``None``, an empty sequence,
or an empty string), the code will not be equivalent.
|