code style
diff --git a/Objects/abstract.c b/Objects/abstract.c
index d039a9c..2f887aa 100644
--- a/Objects/abstract.c
+++ b/Objects/abstract.c
@@ -2500,12 +2500,10 @@
if (retval == 0) {
PyObject *c = PyObject_GetAttr(inst, __class__);
if (c == NULL) {
- if (PyErr_ExceptionMatches(PyExc_AttributeError)) {
+ if (PyErr_ExceptionMatches(PyExc_AttributeError))
PyErr_Clear();
- }
- else {
+ else
retval = -1;
- }
}
else {
if (c != (PyObject *)(inst->ob_type) &&
@@ -2523,12 +2521,10 @@
return -1;
icls = PyObject_GetAttr(inst, __class__);
if (icls == NULL) {
- if (PyErr_ExceptionMatches(PyExc_AttributeError)) {
+ if (PyErr_ExceptionMatches(PyExc_AttributeError))
PyErr_Clear();
- }
- else {
+ else
retval = -1;
- }
}
else {
retval = abstract_issubclass(icls, cls);