summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Objects/intobject.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/Objects/intobject.c b/Objects/intobject.c
index eaf869f..775213c 100644
--- a/Objects/intobject.c
+++ b/Objects/intobject.c
@@ -533,6 +533,12 @@ int_classic_div(PyIntObject *x, PyIntObject *y)
}
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)
{
long xi, yi;
@@ -768,12 +774,6 @@ int_or(PyIntObject *v, PyIntObject *w)
}
static PyObject *
-int_true_divide(PyObject *v, PyObject *w)
-{
- return PyFloat_Type.tp_as_number->nb_true_divide(v, w);
-}
-
-static PyObject *
int_int(PyIntObject *v)
{
Py_INCREF(v);