summaryrefslogtreecommitdiffstats
path: root/Python/ceval.c
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-03-17 08:57:43 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-03-17 08:57:43 (GMT)
commit712ce454156496e9bcd32cffde78d1626b102010 (patch)
tree401b84e4dafa5e829c575e83fd34e00801a09859 /Python/ceval.c
parentbd2835c6ae7e707b98ace515ef1764ffe6bff267 (diff)
downloadcpython-712ce454156496e9bcd32cffde78d1626b102010.zip
cpython-712ce454156496e9bcd32cffde78d1626b102010.tar.gz
cpython-712ce454156496e9bcd32cffde78d1626b102010.tar.bz2
_Py_QnewFlag and INPLACE_DIVIDE are not necessary any longer
Diffstat (limited to 'Python/ceval.c')
-rw-r--r--Python/ceval.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index 1a35610..6f76781 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -1262,19 +1262,6 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throw)
if (x != NULL) continue;
break;
- case INPLACE_DIVIDE:
- if (!_Py_QnewFlag) {
- w = POP();
- v = TOP();
- x = PyNumber_InPlaceDivide(v, w);
- Py_DECREF(v);
- Py_DECREF(w);
- SET_TOP(x);
- if (x != NULL) continue;
- break;
- }
- /* -Qnew is in effect: fall through to
- INPLACE_TRUE_DIVIDE */
case INPLACE_TRUE_DIVIDE:
w = POP();
v = TOP();