3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-05-07 02:45:19 +00:00
z3/examples/python/complex
Guangyu (Gary) HU d397a071a6
Fix two bugs in Python examples (#9303)
- bincover.py: typo `NOne` -> `None` in _value2bin fallback path
  (would raise NameError if bin_index is out of range).

- complex/complex.py: rename `__neq__` to `__ne__`. Python has no
  `__neq__` dunder, so `!=` was not using the intended definition.
  On Python 3 it silently fell back to the auto-derived inverse of
  `__eq__`; on Python 2 it fell back to identity comparison.
2026-04-19 15:56:40 +02:00
..
complex.py Fix two bugs in Python examples (#9303) 2026-04-19 15:56:40 +02:00