diff options
Diffstat (limited to 'doc/data/messages/u/use-implicit-booleaness-not-comparison/details.rst')
-rw-r--r-- | doc/data/messages/u/use-implicit-booleaness-not-comparison/details.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/data/messages/u/use-implicit-booleaness-not-comparison/details.rst b/doc/data/messages/u/use-implicit-booleaness-not-comparison/details.rst new file mode 100644 index 000000000..0dc180245 --- /dev/null +++ b/doc/data/messages/u/use-implicit-booleaness-not-comparison/details.rst @@ -0,0 +1,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 sequence (for example ``None``, an empty string, or ``0``), +the code will not be equivalent. |