Skip to content
Snippets Groups Projects
Commit 0ee77768 authored by Michele Maris's avatar Michele Maris
Browse files

u

parent 09287b3f
No related branches found
No related tags found
No related merge requests found
...@@ -11,7 +11,10 @@ class struct : ...@@ -11,7 +11,10 @@ class struct :
def __repr__(self) : def __repr__(self) :
out=[] out=[]
for k in self.keys() : for k in self.keys() :
out['('+k+':'+str(self[k])+')'] try :
out.append('('+k+':'+str(self[k])+')')
except :
out.append('('+k+':'+type(self[k])+')')
return '('+(','.join(out))+')' return '('+(','.join(out))+')'
def __init__(self) : def __init__(self) :
return return
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment