mirror of
https://github.com/Z3Prover/z3
synced 2025-04-27 10:55:50 +00:00
Merge branch 'master' of https://github.com/Z3Prover/z3
This commit is contained in:
commit
424a8c69bd
38 changed files with 473 additions and 216 deletions
|
@ -118,6 +118,8 @@ def _get_args(args):
|
|||
try:
|
||||
if len(args) == 1 and (isinstance(args[0], tuple) or isinstance(args[0], list)):
|
||||
return args[0]
|
||||
elif len(args) == 1 and isinstance(args[0], set):
|
||||
return [arg for arg in args[0]]
|
||||
else:
|
||||
return args
|
||||
except: # len is not necessarily defined when args is not a sequence (use reflection?)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue