summaryrefslogtreecommitdiffstats
path: root/Modules/mpzmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/mpzmodule.c')
-rw-r--r--Modules/mpzmodule.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/Modules/mpzmodule.c b/Modules/mpzmodule.c
index 84685ed..46a5bc3 100644
--- a/Modules/mpzmodule.c
+++ b/Modules/mpzmodule.c
@@ -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;