3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-07 18:05:21 +00:00

try without format

This commit is contained in:
Nikolaj Bjorner 2021-02-09 12:49:55 -08:00
parent e722589810
commit 692f159af8

View file

@ -179,7 +179,8 @@ def mk_var(name, vsort):
elif vsort.kind() == Z3_DATATYPE_SORT:
v = Const(name, vsort)
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