diff options
author | Jens Carl <j.carl43@gmx.de> | 2019-11-17 10:55:39 -0800 |
---|---|---|
committer | Xisco Faulí <xiscofauli@libreoffice.org> | 2019-11-18 10:15:07 +0100 |
commit | f09d88e8f8f599938e78adf72fc96cedb261afef (patch) | |
tree | fcd3756e27b4ee2aa5b87d7f447dad7376798aab /sal | |
parent | a15729a63ea90a066a6a98a762f4a1c2b19f9389 (diff) |
Fix 'is' operator for comparison
The 'is' operator should not be used for comparison on some types of
literals. In CPython this works by accident and CPython 3.8 introduced a
SyntaxWarning (see https://bugs.python.org/issue34850).
Change-Id: Ifabe22e4ae3b9e1d3bfd5a663f39500e381cfa6e
Reviewed-on: https://gerrit.libreoffice.org/83034
Tested-by: Jenkins
Reviewed-by: Xisco Faulí <xiscofauli@libreoffice.org>
Diffstat (limited to 'sal')
0 files changed, 0 insertions, 0 deletions