[Python-checkins] CVS: python/dist/src/Modules mpzmodule.c,2.41,2.42
Neal Norwitz
nnorwitz@users.sourceforge.net
Sun, 31 Mar 2002 14:02:41 -0800
Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv13107/Modules
Modified Files:
mpzmodule.c
Log Message:
mpz_float() only takes one parameter now
Index: mpzmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/mpzmodule.c,v
retrieving revision 2.41
retrieving revision 2.42
diff -C2 -d -r2.41 -r2.42
*** mpzmodule.c 31 Mar 2002 15:27:00 -0000 2.41
--- mpzmodule.c 31 Mar 2002 22:02:37 -0000 2.42
***************
*** 1478,1488 ****
}
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);
--- 1478,1483 ----