summaryrefslogtreecommitdiff
path: root/doc/data/messages/u/use-implicit-booleaness-not-comparison-to-string/details.rst
blob: 257fb92bc3ecd6ec3c43ff91d0add602ae48dc4e (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 a string (for example ``None``, or ``0``), the code will
not be equivalent.