summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAndres Noetzli <andres.noetzli@gmail.com>2018-04-05 11:06:26 -0700
committerGitHub <noreply@github.com>2018-04-05 11:06:26 -0700
commitdc0e4a68281032194a7626050b8fbb74d3f5e183 (patch)
tree73fbfe1e9a664a3df2a2e54f8bb5adbfca024927 /examples
parent1548aadcc83a8b25f16a9ed4530b21f5a325b908 (diff)
Make Python bindings example compatible w/ Python3 (#1751)
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/SimpleVC.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/SimpleVC.py b/examples/SimpleVC.py
index 18be0fdc0..4c21d35c0 100755
--- a/examples/SimpleVC.py
+++ b/examples/SimpleVC.py
@@ -53,9 +53,9 @@ def main():
formula = Expr(em.mkExpr(CVC4.AND, x_positive, y_positive)).impExpr(Expr(twox_plus_y_geq_3))
- print "Checking validity of formula " + formula.toString() + " with CVC4."
- print "CVC4 should report VALID."
- print "Result from CVC4 is: " + smt.query(formula).toString()
+ print("Checking validity of formula " + formula.toString() + " with CVC4.")
+ print("CVC4 should report VALID.")
+ print("Result from CVC4 is: " + smt.query(formula).toString())
return 0
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback