You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here value comparison is actually written as object comparison. This is clearly wrong.
Such statements should be written with == and != not with is and is not.
The text was updated successfully, but these errors were encountered:
dromer
changed the title
Bad form for value comparisen
Bad form for value comparison
Mar 19, 2020
All over the code we find examples like:
brave/brave/inputoutputoverlay.py
Line 137 in b9c8e19
Here value comparison is actually written as object comparison. This is clearly wrong.
Such statements should be written with
==
and!=
not withis
andis not
.The text was updated successfully, but these errors were encountered: