projects
/
weather.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
62b0ce6
)
Don't use "is" with a literal to test for equality
author
Jeremy Stanley
<fungi@yuggoth.org>
Tue, 2 Jun 2020 14:10:49 +0000
(14:10 +0000)
committer
Jeremy Stanley
<fungi@yuggoth.org>
Tue, 2 Jun 2020 14:10:49 +0000
(14:10 +0000)
Solve a SyntaxWarning under Python 3.8 and later for use of the "is"
identity operator when comparing literals, by replacing with the
"==" equality operator.
No differences found