diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2020-06-09 21:40:06 +0200 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2020-06-09 21:40:06 +0200 |
commit | 2b4c89ada87b126bfd6b70048e98e1ec0a528867 (patch) | |
tree | abd62ed3d4d10dde308f01247a7864fe81ae4c31 /Cython/Compiler/ExprNodes.py | |
parent | 2f6c69b1e3d344239399f4f7188a52d5f29b51c3 (diff) | |
download | cython-linting.tar.gz |
Clean up some operator usages and style issues, and enforce them with pycodestyle.linting
Diffstat (limited to 'Cython/Compiler/ExprNodes.py')
-rw-r--r-- | Cython/Compiler/ExprNodes.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Cython/Compiler/ExprNodes.py b/Cython/Compiler/ExprNodes.py index dc2fd5f53..c39e0b18a 100644 --- a/Cython/Compiler/ExprNodes.py +++ b/Cython/Compiler/ExprNodes.py @@ -11330,8 +11330,8 @@ class NumBinopNode(BinopNode): def c_types_okay(self, type1, type2): #print "NumBinopNode.c_types_okay:", type1, type2 ### - return (type1.is_numeric or type1.is_enum) \ - and (type2.is_numeric or type2.is_enum) + return (type1.is_numeric or type1.is_enum) \ + and (type2.is_numeric or type2.is_enum) def generate_evaluation_code(self, code): if self.overflow_check: |