Commit ae530c2b authored by Benjamin Peterson's avatar Benjamin Peterson

tiny simplification

parent 821a8ea3
...@@ -828,7 +828,6 @@ bytearray_init(PyByteArrayObject *self, PyObject *args, PyObject *kwds) ...@@ -828,7 +828,6 @@ bytearray_init(PyByteArrayObject *self, PyObject *args, PyObject *kwds)
if (count == -1 && PyErr_Occurred()) { if (count == -1 && PyErr_Occurred()) {
if (PyErr_ExceptionMatches(PyExc_OverflowError)) if (PyErr_ExceptionMatches(PyExc_OverflowError))
return -1; return -1;
else
PyErr_Clear(); PyErr_Clear();
} }
else if (count < 0) { else if (count < 0) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment