summaryrefslogtreecommitdiff
path: root/examples/api/python/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/api/python/utils.py')
-rw-r--r--examples/api/python/utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/api/python/utils.py b/examples/api/python/utils.py
index 6d42325b5..cf906bc7a 100644
--- a/examples/api/python/utils.py
+++ b/examples/api/python/utils.py
@@ -15,7 +15,7 @@
##
import pycvc5
-from pycvc5 import kinds
+from pycvc5 import Kind
# Get the string version of define-fun command.
# @param f the function to print
@@ -47,7 +47,7 @@ def print_synth_solutions(terms, sols):
result = ""
for i in range(0, len(terms)):
params = []
- if sols[i].getKind() == kinds.Lambda:
+ if sols[i].getKind() == Kind.Lambda:
params += sols[i][0]
body = sols[i][1]
result += " " + define_fun_to_string(terms[i], params, body) + "\n"
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback