summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
Diffstat (limited to 'Objects')
-rw-r--r--Objects/longobject.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/Objects/longobject.c b/Objects/longobject.c
index e97ebd5..7aa6005 100644
--- a/Objects/longobject.c
+++ b/Objects/longobject.c
@@ -1582,6 +1582,12 @@ long_classic_div(PyObject *v, PyObject *w)
}
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)
{
PyLongObject *a, *b, *div, *mod;
@@ -2061,12 +2067,6 @@ long_or(PyObject *v, PyObject *w)
return c;
}
-static PyObject *
-long_true_divide(PyObject *v, PyObject *w)
-{
- return PyFloat_Type.tp_as_number->nb_divide(v, w);
-}
-
static int
long_coerce(PyObject **pv, PyObject **pw)
{