Don't use "is" with a literal to test for equality
authorJeremy Stanley <fungi@yuggoth.org>
Tue, 2 Jun 2020 14:10:49 +0000 (14:10 +0000)
committerJeremy Stanley <fungi@yuggoth.org>
Tue, 2 Jun 2020 14:10:49 +0000 (14:10 +0000)
commit62b0ce6d9d0cc03279228baa709ffca9eddaae35
tree9764c54c4244f8b61739c8983f6a130243ff8516
parent28a5c0e1e6973b30d7dfa2659495c4533281ec56
Don't use "is" with a literal to test for equality

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.
weather.py