Commit 102942d6 authored by Neal Norwitz's avatar Neal Norwitz

mpz_float() only takes one parameter now

parent b0c77275
...@@ -1477,13 +1477,8 @@ mpz_coerce(PyObject **pv, PyObject **pw) ...@@ -1477,13 +1477,8 @@ mpz_coerce(PyObject **pv, PyObject **pw)
*pw = z; *pw = z;
} }
else { else {
#ifdef MPZ_CONVERSIONS_AS_METHODS
if ((z = mpz_float((mpzobject *)(*pv), NULL)) == NULL)
return -1;
#else /* def MPZ_CONVERSIONS_AS_METHODS */
if ((z = mpz_float((mpzobject *)(*pv))) == NULL) if ((z = mpz_float((mpzobject *)(*pv))) == NULL)
return -1; return -1;
#endif /* def MPZ_CONVERSIONS_AS_METHODS else */
Py_INCREF(*pw); Py_INCREF(*pw);
*pv = z; *pv = z;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment