commit | 0362dc268a6f917dec730411a537c36c4d8bdbc1 | [log] [tgz] |
---|---|---|
author | Raul Tambre <raul@tambre.ee> | Tue May 07 16:42:32 2019 +0300 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Tue May 07 14:22:15 2019 +0000 |
tree | b6a480d33ab4e24e742311a235e19755cec6c422 | |
parent | b0d8b76c4f626059b4f3503f57d08e2b3cc09f73 [diff] |
Fix use of 'is' operator for comparison 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. Bug: chromium:958874 Change-Id: I7657bd3fddf37e849cc30aca34825fa3c0f71b58 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/211663 Reviewed-by: Mike Klein <mtklein@google.com> Commit-Queue: Mike Klein <mtklein@google.com> Auto-Submit: Raul Tambre <raul@tambre.ee>