mirror of
https://github.com/Z3Prover/z3
synced 2025-06-14 09:56:15 +00:00
fix python test
This commit is contained in:
parent
23e6adcad3
commit
44ec259c4c
1 changed files with 1 additions and 1 deletions
|
@ -2795,7 +2795,7 @@ class IntNumRef(ArithRef):
|
||||||
def as_binary_string(self):
|
def as_binary_string(self):
|
||||||
"""Return a Z3 integer numeral as a Python binary string.
|
"""Return a Z3 integer numeral as a Python binary string.
|
||||||
>>> v = IntVal(10)
|
>>> v = IntVal(10)
|
||||||
>>> v.as_string()
|
>>> v.as_binary_string()
|
||||||
'1010'
|
'1010'
|
||||||
"""
|
"""
|
||||||
return Z3_get_numeral_binary_string(self.ctx_ref(), self.as_ast())
|
return Z3_get_numeral_binary_string(self.ctx_ref(), self.as_ast())
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue