From 20dab9f168745bdc7099f4daf33edc34fda2448b Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Tue, 4 Sep 2001 05:31:47 +0000 Subject: [PATCH] Move long_true_divide next to the other division routines (for clarity!). --- Objects/longobject.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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) {