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,10 +1637,6 @@ eval_code2(co, globals, locals,
} }
nstar = PySequence_Length(stararg); nstar = PySequence_Length(stararg);
if (nstar < 0) { if (nstar < 0) {
if (!PyErr_Occurred)
PyErr_SetString(
PyExc_TypeError,
"len() of unsized object");
x = NULL; x = NULL;
break; break;
} }