mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-19 08:26:30 +08:00
compiler.types.Type: more useful __str__.
This commit is contained in:
parent
ac92aabce1
commit
6a29775bf0
@ -41,7 +41,8 @@ def _map_find(elts):
|
||||
|
||||
|
||||
class Type(object):
|
||||
pass
|
||||
def __str__(self):
|
||||
return TypePrinter().name(self)
|
||||
|
||||
class TVar(Type):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user