1
0
mirror of https://github.com/satwikkansal/wtfpython synced 2024-11-11 14:08:53 +01:00
Commit Graph

2 Commits

Author SHA1 Message Date
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
Satwik Kansal
65a0811e1d A bit of code clean up 2018-01-22 18:49:09 +05:30