diff options
author | Jens Carl <j.carl43@gmx.de> | 2019-11-17 10:55:15 -0800 |
---|---|---|
committer | Jens Carl <j.carl43@gmx.de> | 2019-11-24 07:41:58 +0100 |
commit | 4dc85b98d7d84ac0d50f6f64833b667fb48236c7 (patch) | |
tree | e7ddc4bd9310c281989696ad286e13941a4fe83b /connectivity/source | |
parent | a81489978cb96d819044be054f7ceabc4f8eccb2 (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: I5cb7470132b26d87848c2bdc382b05477eb56afb
Reviewed-on: https://gerrit.libreoffice.org/83032
Tested-by: Jenkins
Reviewed-by: Jens Carl <j.carl43@gmx.de>
Diffstat (limited to 'connectivity/source')
0 files changed, 0 insertions, 0 deletions