Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix SyntaxWarning for 'is not' with literals
On Python 3.8 there was a change: "The compiler now produces a SyntaxWarning when identity checks (is and is not) are used with certain types of literals (e.g. strings, numbers)." More info here: https://adamj.eu/tech/2020/01/21/why-does-python-3-8-syntaxwarning-for-is-literal/ Replaced the 'is not' with '!='
- Loading branch information