Fix use of 'is' operator for comparison
Before adoption: this commit came in with the history the project adopted, so no landing records it.
The 'is' operator is not meant to be used for comparisons. It currently working is an implementation detail of CPython. CPython 3.8 has added a SyntaxWarning for this.
authored by Raul Tambre · committed by Adrian · parent e214048 · Browse files · 1 file+1 added−1 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+1 added−1 removed
- other:+1 added−1 removed