mirror of
https://github.com/Z3Prover/z3
synced 2026-05-05 09:55:15 +00:00
update python example
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
38d67b3c59
commit
c2cf11672a
1 changed files with 0 additions and 3 deletions
|
|
@ -251,10 +251,7 @@ class Context:
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
>>> c = Context()
|
>>> c = Context()
|
||||||
>>> c.set_ast_print_mode(Z3_PRINT_LOW_LEVEL)
|
|
||||||
>>> x = Int('x', c)
|
>>> x = Int('x', c)
|
||||||
>>> print(x)
|
|
||||||
(Int 0)
|
|
||||||
>>> c.set_ast_print_mode(Z3_PRINT_SMTLIB2_COMPLIANT)
|
>>> c.set_ast_print_mode(Z3_PRINT_SMTLIB2_COMPLIANT)
|
||||||
>>> print(x)
|
>>> print(x)
|
||||||
x
|
x
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue