[Python-3000-checkins] r53926 - python/branches/p3yk/Objects/abstract.c
neal.norwitz
python-3000-checkins at python.org
Mon Feb 26 00:47:21 CET 2007
Author: neal.norwitz
Date: Mon Feb 26 00:47:19 2007
New Revision: 53926
Modified:
python/branches/p3yk/Objects/abstract.c
Log:
These comments aren't relevant for 3k. They were to support modules compiled
before the PyNumberMethods were added which was 2.0 I think.
Modified: python/branches/p3yk/Objects/abstract.c
==============================================================================
--- python/branches/p3yk/Objects/abstract.c (original)
+++ python/branches/p3yk/Objects/abstract.c Mon Feb 26 00:47:19 2007
@@ -565,14 +565,12 @@
PyObject *
PyNumber_FloorDivide(PyObject *v, PyObject *w)
{
- /* XXX tp_flags test */
return binary_op(v, w, NB_SLOT(nb_floor_divide), "//");
}
PyObject *
PyNumber_TrueDivide(PyObject *v, PyObject *w)
{
- /* XXX tp_flags test */
return binary_op(v, w, NB_SLOT(nb_true_divide), "/");
}
@@ -649,7 +647,6 @@
PyObject *
PyNumber_InPlaceFloorDivide(PyObject *v, PyObject *w)
{
- /* XXX tp_flags test */
return binary_iop(v, w, NB_SLOT(nb_inplace_floor_divide),
NB_SLOT(nb_floor_divide), "//=");
}
@@ -657,7 +654,6 @@
PyObject *
PyNumber_InPlaceTrueDivide(PyObject *v, PyObject *w)
{
- /* XXX tp_flags test */
return binary_iop(v, w, NB_SLOT(nb_inplace_true_divide),
NB_SLOT(nb_true_divide), "/=");
}
More information about the Python-3000-checkins
mailing list