diff options
author | Andres Noetzli <andres.noetzli@gmail.com> | 2018-04-05 11:06:26 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-05 11:06:26 -0700 |
commit | dc0e4a68281032194a7626050b8fbb74d3f5e183 (patch) | |
tree | 73fbfe1e9a664a3df2a2e54f8bb5adbfca024927 /examples/SimpleVC.py | |
parent | 1548aadcc83a8b25f16a9ed4530b21f5a325b908 (diff) |
Make Python bindings example compatible w/ Python3 (#1751)
Diffstat (limited to 'examples/SimpleVC.py')
-rwxr-xr-x | examples/SimpleVC.py | 6 |
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 |