Skip to content
Snippets Groups Projects
Commit e303e88f authored by Stephan Seitz's avatar Stephan Seitz
Browse files

Add TypedSymbol.reversed/canonical

parent 7163fca0
1 merge request!69Small fixes
......@@ -236,6 +236,14 @@ class TypedSymbol(sp.Symbol):
def __getnewargs__(self):
return self.name, self.dtype
@property
def canonical(self):
return self
@property
def reversed(self):
return self
def create_type(specification):
"""Creates a subclass of Type according to a string or an object of subclass Type.
......
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