Skip to content

Commit 6c3b5a9

Browse files
author
whitequark
committedJun 4, 2015
Use proper format function.
1 parent 4b01e60 commit 6c3b5a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎artiq/py2llvm/typing.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ def rewrite(self):
303303
def generic_visit(self, node):
304304
if hasattr(node, 'type'):
305305
self.rewriter.insert_after(node.loc,
306-
":%s" % self.type_printer.name(node.type))
306+
":%s".format(self.type_printer.name(node.type)))
307307

308308
super().generic_visit(node)
309309

0 commit comments

Comments
 (0)
Please sign in to comment.