2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-19 16:36:29 +08:00

compiler.types.Type: more useful __str__.

This commit is contained in:
whitequark 2015-08-28 02:53:12 -05:00
parent ac92aabce1
commit 6a29775bf0

View File

@ -41,7 +41,8 @@ def _map_find(elts):
class Type(object): class Type(object):
pass def __str__(self):
return TypePrinter().name(self)
class TVar(Type): class TVar(Type):
""" """