Skip to content

Commit 2fca592

Browse files
dr-carlospicnixz
andauthored
Update code style in exceptions.c
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
1 parent f5acfef commit 2fca592

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
@@ -1075,7 +1075,8 @@ BaseExceptionGroup_repr(PyObject *op)
10751075
PyObject* excs_orig = PyTuple_GET_ITEM(self->args, 1);
10761076
if (PyList_Check(excs_orig)) {
10771077
excs_orig = PySequence_List(self->excs);
1078-
} else {
1078+
}
1079+
else {
10791080
excs_orig = Py_NewRef(self->excs);
10801081
}
10811082

0 commit comments

Comments
 (0)