1
0
mirror of https://github.com/satwikkansal/wtfpython synced 2024-12-23 13:20:08 +01:00
wtfpython/irrelevant
cclauss a4776a6b67
Use ==/!= to compare str, bytes, and int literals
Identity is not the same thing as equality in Python.

$ __[flake8](http://flake8.pycqa.org)  . --count --select=E9,F63,F7,F82 --show-source --statistics__
```
    if resp.status_code is 200:
       ^
1     F632 use ==/!= to compare str, bytes, and int literals
1
```
2019-07-02 15:36:23 +02:00
..
2018-01-22 18:49:09 +05:30
2018-01-22 18:49:09 +05:30
2018-01-22 18:49:09 +05:30