Skip to content

Commit bbfd721

Browse files
committed
Fix Ruff PERF102 warning
1 parent da9833e commit bbfd721

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

loopy/translation_unit.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ def __str__(self):
453453

454454
return "\n".join(
455455
str(clbl.subkernel)
456-
for _name, clbl in self.callables_table.items()
456+
for clbl in self.callables_table.values()
457457
if isinstance(clbl, CallableKernel))
458458

459459
# FIXME: This is here because Firedrake expects it, for some legacy reason.

0 commit comments

Comments
 (0)