summaryrefslogtreecommitdiffstats
path: root/Modules/mpzmodule.c
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2002-03-31 22:02:37 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2002-03-31 22:02:37 (GMT)
commitdfd59e039a5e070fd6fc8ec4de749c84f9535823 (patch)
tree0b0fcad0264f99acd12637a4f20ee4908b5ed4f0 /Modules/mpzmodule.c
parentff773eba36acf8537114d9aad2e19d4c0424493e (diff)
downloadcpython-dfd59e039a5e070fd6fc8ec4de749c84f9535823.zip
cpython-dfd59e039a5e070fd6fc8ec4de749c84f9535823.tar.gz
cpython-dfd59e039a5e070fd6fc8ec4de749c84f9535823.tar.bz2
mpz_float() only takes one parameter now
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;