From dc0e4a68281032194a7626050b8fbb74d3f5e183 Mon Sep 17 00:00:00 2001 From: Andres Noetzli Date: Thu, 5 Apr 2018 11:06:26 -0700 Subject: Make Python bindings example compatible w/ Python3 (#1751) --- examples/SimpleVC.py | 6 +++--- 1 file 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 -- cgit v1.2.3