mirror of
https://github.com/Z3Prover/z3
synced 2025-04-12 12:08:18 +00:00
try without format
This commit is contained in:
parent
e722589810
commit
692f159af8
|
@ -179,7 +179,8 @@ def mk_var(name, vsort):
|
||||||
elif vsort.kind() == Z3_DATATYPE_SORT:
|
elif vsort.kind() == Z3_DATATYPE_SORT:
|
||||||
v = Const(name, vsort)
|
v = Const(name, vsort)
|
||||||
else:
|
else:
|
||||||
raise TypeError(f"Cannot handle this sort (s: {vsort}id: {vsort.kind()})")
|
raise TypeError('Cannot handle this sort (s: %sid: %d)' %(vsort,vsort.kind()))
|
||||||
|
|
||||||
return v
|
return v
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue