[Lldb-commits] [clang] [clang-tools-extra] [compiler-rt] [lldb] [llvm] [mlir] [openmp] [polly] fix(python): fix comparison to None (PR #91857)

Eisuke Kawashima via lldb-commits lldb-commits at lists.llvm.org
Sat May 11 12:35:50 PDT 2024


e-kwsm wrote:

>From [PEP8](https://peps.python.org/pep-0008/#programming-recommendations):

> Comparisons to singletons like None should always be done with `is` or `is not`, never the equality operators.

[flake8](https://flake8.pycqa.org/en/latest/) is used here.


https://github.com/llvm/llvm-project/pull/91857


More information about the lldb-commits mailing list