diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2002-03-31 22:02:37 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2002-03-31 22:02:37 (GMT) |
commit | dfd59e039a5e070fd6fc8ec4de749c84f9535823 (patch) | |
tree | 0b0fcad0264f99acd12637a4f20ee4908b5ed4f0 /Modules | |
parent | ff773eba36acf8537114d9aad2e19d4c0424493e (diff) | |
download | cpython-dfd59e039a5e070fd6fc8ec4de749c84f9535823.zip cpython-dfd59e039a5e070fd6fc8ec4de749c84f9535823.tar.gz cpython-dfd59e039a5e070fd6fc8ec4de749c84f9535823.tar.bz2 |
mpz_float() only takes one parameter now
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/mpzmodule.c | 5 |
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; |