3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-25 10:05:32 +00:00

Added API Z3_param_descrs_to_string

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2012-10-12 09:13:04 -07:00
parent 42c27b7a46
commit f7bcd40137
11 changed files with 1281 additions and 1232 deletions

View file

@ -4421,18 +4421,7 @@ class ParamDescrsRef:
return self.get_kind(arg)
def __repr__(self):
r = io.StringIO()
first = True
r.write(u'(')
for i in range(self.size()):
if first:
first = False
else:
r.write(u' ')
r.write(u'%s' % self.get_name(i))
r.write(u')')
return r.getvalue()
return Z3_param_descrs_to_string(self.ctx.ref(), self.descr)
#########################################
#