tiny simplification

This commit is contained in:
Benjamin Peterson 2010-04-16 22:52:44 +00:00
parent 821a8ea39f
commit ae530c2bab
1 changed files with 1 additions and 2 deletions

View File

@ -828,7 +828,6 @@ bytearray_init(PyByteArrayObject *self, PyObject *args, PyObject *kwds)
if (count == -1 && PyErr_Occurred()) {
if (PyErr_ExceptionMatches(PyExc_OverflowError))
return -1;
else
PyErr_Clear();
}
else if (count < 0) {