Skip to content

Commit 8de97dd

Browse files
committed
simplify python code
1 parent a6d804e commit 8de97dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/etc/platform-intrinsics/generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,7 @@ def monomorphise(self):
503503
# must be a power of two
504504
assert width & (width - 1) == 0
505505
def recur(processed, untouched):
506-
if untouched == []:
506+
if not untouched:
507507
ret = processed[0]
508508
args = processed[1:]
509509
yield MonomorphicIntrinsic(self._platform, self.intrinsic, width,

0 commit comments

Comments
 (0)