mpz_float() only takes one parameter now

This commit is contained in:
Neal Norwitz 2002-03-31 22:02:37 +00:00
parent ff773eba36
commit dfd59e039a
1 changed files with 0 additions and 5 deletions

View File

@ -1477,13 +1477,8 @@ mpz_coerce(PyObject **pv, PyObject **pw)
*pw = z;
}
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)
return -1;
#endif /* def MPZ_CONVERSIONS_AS_METHODS else */
Py_INCREF(*pw);
*pv = z;