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):
pass
def __str__(self):
return TypePrinter().name(self)
class TVar(Type):
"""