Commit e616927c authored by Federico Asara's avatar Federico Asara

Pretty print method for the elements of a parameter dictionary.

parent 2397b7d5
......@@ -22,3 +22,8 @@ def parse(value, s):
return tuple(str(i) for i in value)
def prettyParameter(x, vx):
print 'Parameter %s is called %s.' % (x, vx[0])
print 'Description:', vx[1]
print 'Default value, in %s, is %s' % (repr(vx[3]), repr(vx[2]))
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