We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd2c7aa commit f607331Copy full SHA for f607331
src/api/python/z3/z3.py
@@ -129,7 +129,7 @@ def append_log(s):
129
Z3_append_log(s)
130
131
132
-def to_symbol(s : int | str, ctx = None):
+def to_symbol(s, ctx = None):
133
"""Convert an integer or string into a Z3 symbol."""
134
if _is_int(s):
135
return Z3_mk_int_symbol(_get_ctx(ctx).ref(), s)
@@ -312,7 +312,7 @@ def set_option(*args, **kws):
312
return set_param(*args, **kws)
313
314
315
-def get_param(name : str) -> str:
+def get_param(name):
316
"""Return the value of a Z3 global (or module) parameter
317
318
>>> get_param('nlsat.reorder')
0 commit comments