summaryrefslogtreecommitdiff
path: root/examples/api/python/sets.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/api/python/sets.py')
-rw-r--r--examples/api/python/sets.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/api/python/sets.py b/examples/api/python/sets.py
index 77de3e5b3..e4350ea1b 100644
--- a/examples/api/python/sets.py
+++ b/examples/api/python/sets.py
@@ -66,9 +66,9 @@ if __name__ == "__main__":
two = slv.mkInteger(2)
three = slv.mkInteger(3)
- singleton_one = slv.mkSingleton(integer, one)
- singleton_two = slv.mkSingleton(integer, two)
- singleton_three = slv.mkSingleton(integer, three)
+ singleton_one = slv.mkTerm(kinds.Singleton, one)
+ singleton_two = slv.mkTerm(kinds.Singleton, two)
+ singleton_three = slv.mkTerm(kinds.Singleton, three)
one_two = slv.mkTerm(kinds.Union, singleton_one, singleton_two)
two_three = slv.mkTerm(kinds.Union, singleton_two, singleton_three)
intersection = slv.mkTerm(kinds.Intersection, one_two, two_three)
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback