Variable rename for readability.

pull/13171/head
Joshua Haberman 3 years ago
parent 8c256cc677
commit 201d2265e3
  1. 8
      python/message.c

@ -937,16 +937,16 @@ static PyObject* PyUpb_CMessage_IsInitializedAppendErrors(PyObject* _self,
if (!list) return NULL;
bool ok = PyList_Size(list) == 0;
PyObject* ret = NULL;
PyObject* result = NULL;
PyObject* extend_result = NULL;
if (!ok) {
result = PyObject_CallMethod(errors, "extend", "O", list);
if (!result) goto done;
extend_result = PyObject_CallMethod(errors, "extend", "O", list);
if (!extend_result) goto done;
}
ret = PyBool_FromLong(ok);
done:
Py_XDECREF(list);
Py_XDECREF(result);
Py_XDECREF(extend_result);
return ret;
}

Loading…
Cancel
Save