[clang] [lldb] [llvm] [openmp] [polly] fix(python): fix comparison to True/False (PR #91858)
Alex Langford via cfe-commits
cfe-commits at lists.llvm.org
Tue May 14 11:17:31 PDT 2024
https://github.com/bulbazord requested changes to this pull request.
Hmm, actually, I'm not so sure about this change anymore. I went through PEP8 again and saw this:
```
Don’t compare boolean values to True or False using ==:
# Correct:
if greeting:
# Wrong:
if greeting == True:
Worse:
# Wrong:
if greeting is True:
```
This doesn't seem like the right change then, no?
https://github.com/llvm/llvm-project/pull/91858
More information about the cfe-commits
mailing list