Skip to content

Commit 79094f6

Browse files
committed
Fix if-else formatting in exceptions.c
1 parent e21fad0 commit 79094f6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Objects/exceptions.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1113,7 +1113,8 @@ BaseExceptionGroup_repr(PyObject *op)
11131113
if (!exceptions_str) {
11141114
return NULL;
11151115
}
1116-
} else {
1116+
}
1117+
else {
11171118
exceptions_str = Py_NewRef(self->excs_str);
11181119
}
11191120

0 commit comments

Comments
 (0)