mirror of
https://github.com/python/cpython.git
synced 2025-09-03 15:31:08 +00:00
Get rid of last vestiges of BINARY_DIVIDE.
This commit is contained in:
parent
e4993c7ac7
commit
c6d210ca76
6 changed files with 3 additions and 29 deletions
|
@ -1073,19 +1073,6 @@ PyEval_EvalFrameEx(PyFrameObject *f, int throw)
|
|||
if (x != NULL) continue;
|
||||
break;
|
||||
|
||||
case BINARY_DIVIDE:
|
||||
if (!_Py_QnewFlag) {
|
||||
w = POP();
|
||||
v = TOP();
|
||||
x = PyNumber_Divide(v, w);
|
||||
Py_DECREF(v);
|
||||
Py_DECREF(w);
|
||||
SET_TOP(x);
|
||||
if (x != NULL) continue;
|
||||
break;
|
||||
}
|
||||
/* -Qnew is in effect: fall through to
|
||||
BINARY_TRUE_DIVIDE */
|
||||
case BINARY_TRUE_DIVIDE:
|
||||
w = POP();
|
||||
v = TOP();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue