mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
_Py_QnewFlag and INPLACE_DIVIDE are not necessary any longer
This commit is contained in:
parent
bd2835c6ae
commit
712ce45415
3 changed files with 0 additions and 21 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue