[Python-checkins] CVS: python/dist/src/Objects longobject.c,1.98,1.99
Tim Peters
tim_one@users.sourceforge.net
Mon, 03 Sep 2001 22:31:49 -0700
Update of /cvsroot/python/python/dist/src/Objects
In directory usw-pr-cvs1:/tmp/cvs-serv2419/python/Objects
Modified Files:
longobject.c
Log Message:
Move long_true_divide next to the other division routines (for clarity!).
Index: longobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/longobject.c,v
retrieving revision 1.98
retrieving revision 1.99
diff -C2 -d -r1.98 -r1.99
*** longobject.c 2001/09/04 05:14:19 1.98
--- longobject.c 2001/09/04 05:31:47 1.99
***************
*** 1583,1586 ****
--- 1583,1592 ----
static PyObject *
+ long_true_divide(PyObject *v, PyObject *w)
+ {
+ return PyFloat_Type.tp_as_number->nb_divide(v, w);
+ }
+
+ static PyObject *
long_mod(PyObject *v, PyObject *w)
{
***************
*** 2060,2069 ****
Py_DECREF(b);
return c;
- }
-
- static PyObject *
- long_true_divide(PyObject *v, PyObject *w)
- {
- return PyFloat_Type.tp_as_number->nb_divide(v, w);
}
--- 2066,2069 ----