tiny simplification
This commit is contained in:
parent
821a8ea39f
commit
ae530c2bab
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue