3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-14 04:48:45 +00:00

Build/test fix for python3

This commit is contained in:
Christoph M. Wintersteiger 2016-10-05 15:34:02 +01:00
parent acdaeca826
commit d495b08639

View file

@ -10,6 +10,8 @@ from .z3core import *
from .z3printer import *
from fractions import Fraction
from .z3 import _get_ctx
def _to_numeral(num, ctx=None):
if isinstance(num, Numeral):
return num