Move long_true_divide next to the other division routines (for clarity!).

This commit is contained in:
Tim Peters 2001-09-04 05:31:47 +00:00
parent 9fffa3eea3
commit 20dab9f168
1 changed files with 6 additions and 6 deletions

View File

@ -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)
{