Skip to content

Commit 667dac7

Browse files
committed
Fix flake8
1 parent d674d17 commit 667dac7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

llvmlite/ir/types.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,8 @@ def _to_string(self):
138138
return "ptr"
139139

140140
def __eq__(self, other):
141-
return isinstance(other, PointerType) and \
142-
self.addrspace == other.addrspace
141+
return (isinstance(other, PointerType) and
142+
self.addrspace == other.addrspace)
143143

144144
def __hash__(self):
145145
return hash(PointerType)
@@ -181,8 +181,8 @@ def __eq__(self, other):
181181
if isinstance(other, _TypedPointerType):
182182
return (self.pointee, self.addrspace) == (other.pointee,
183183
other.addrspace)
184-
return isinstance(other, PointerType) and \
185-
self.addrspace == other.addrspace
184+
return (isinstance(other, PointerType) and
185+
self.addrspace == other.addrspace)
186186

187187
def __hash__(self):
188188
return hash(_TypedPointerType)

0 commit comments

Comments
 (0)