diff --git a/Objects/longobject.c b/Objects/longobject.c index e97ebd59888..7aa60054b06 100644 --- a/Objects/longobject.c +++ b/Objects/longobject.c @@ -1581,6 +1581,12 @@ long_classic_div(PyObject *v, PyObject *w) return (PyObject *)div; } +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) { @@ -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) {