[Python-checkins] CVS: python/dist/src/Objects intobject.c,2.69,2.70

Tim Peters tim_one@users.sourceforge.net
Mon, 03 Sep 2001 22:52:49 -0700


Update of /cvsroot/python/python/dist/src/Objects
In directory usw-pr-cvs1:/tmp/cvs-serv12934

Modified Files:
	intobject.c 
Log Message:
Move int_true_divide next to the other division routines.


Index: intobject.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Objects/intobject.c,v
retrieving revision 2.69
retrieving revision 2.70
diff -C2 -d -r2.69 -r2.70
*** intobject.c	2001/09/03 08:35:41	2.69
--- intobject.c	2001/09/04 05:52:47	2.70
***************
*** 534,537 ****
--- 534,543 ----
  
  static PyObject *
+ int_true_divide(PyObject *v, PyObject *w)
+ {
+ 	return PyFloat_Type.tp_as_number->nb_true_divide(v, w);
+ }
+ 
+ static PyObject *
  int_mod(PyIntObject *x, PyIntObject *y)
  {
***************
*** 766,775 ****
  	CONVERT_TO_LONG(w, b);
  	return PyInt_FromLong(a | b);
- }
- 
- static PyObject *
- int_true_divide(PyObject *v, PyObject *w)
- {
- 	return PyFloat_Type.tp_as_number->nb_true_divide(v, w);
  }
  
--- 772,775 ----