2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-20 08:56:28 +08:00

Fix artiq.compiler.ir.BasicBlock.__repr__.

This commit is contained in:
whitequark 2015-07-19 16:32:33 +03:00
parent 7e3f91c0bb
commit c6cd318f19

View File

@ -341,7 +341,7 @@ class BasicBlock(NamedValue):
return "\n".join(lines)
def __repr__(self):
return "<BasicBlock '{}'>".format(self.name)
return "<artiq.compiler.ir.BasicBlock {}>".format(repr(self.name))
class Argument(NamedValue):
"""