[Fix] Use ==/!= to compare constant literals (str, bytes, int, float, tuple) (#3415)
* Use ==/!= to compare constant literals (str, bytes, int, float, tuple) Avoid Syntax Warnings on Python >= 3.8 $ `python3` ``` >>> "" == "" True >>> "" is "" <stdin>:1: SyntaxWarning: "is" with a literal. Did you mean "=="? True ``` * Use ==/!= to compare constant literals (str, bytes, int, float, tuple)
Showing
Please register or sign in to comment