Commit e303e88f authored by Stephan Seitz's avatar Stephan Seitz
Browse files

Add TypedSymbol.reversed/canonical

parent 7163fca0
......@@ -236,6 +236,14 @@ class TypedSymbol(sp.Symbol):
def __getnewargs__(self):
return, self.dtype
def canonical(self):
return self
def reversed(self):
return self
def create_type(specification):
"""Creates a subclass of Type according to a string or an object of subclass Type.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment