3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-01-19 08:43:18 +00:00

update python example

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2026-01-13 09:17:01 -08:00
parent 38d67b3c59
commit c2cf11672a

View file

@ -251,10 +251,7 @@ class Context:
Example:
>>> c = Context()
>>> c.set_ast_print_mode(Z3_PRINT_LOW_LEVEL)
>>> x = Int('x', c)
>>> print(x)
(Int 0)
>>> c.set_ast_print_mode(Z3_PRINT_SMTLIB2_COMPLIANT)
>>> print(x)
x