3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-08 10:25:18 +00:00

fix python test

This commit is contained in:
Nuno Lopes 2020-07-11 22:33:47 +01:00
parent 23e6adcad3
commit 44ec259c4c

View file

@ -2795,7 +2795,7 @@ class IntNumRef(ArithRef):
def as_binary_string(self):
"""Return a Z3 integer numeral as a Python binary string.
>>> v = IntVal(10)
>>> v.as_string()
>>> v.as_binary_string()
'1010'
"""
return Z3_get_numeral_binary_string(self.ctx_ref(), self.as_ast())