eval_code2(): Oops, in the last checkin, we shouldn't check for

PyErr_Occurred(), just set x=NULL and break.  Oh, and make Jeremy stop
nagging me about the "special" indentation for this block.
This commit is contained in:
Barry Warsaw 2000-03-29 18:36:49 +00:00
parent 4961ef7086
commit b2ba9d8963

View file

@ -1637,12 +1637,8 @@ eval_code2(co, globals, locals,
} }
nstar = PySequence_Length(stararg); nstar = PySequence_Length(stararg);
if (nstar < 0) { if (nstar < 0) {
if (!PyErr_Occurred) x = NULL;
PyErr_SetString( break;
PyExc_TypeError,
"len() of unsized object");
x = NULL;
break;
} }
} }
if (nk > 0) { if (nk > 0) {