Skip to content

Commit 5feb970

Browse files
committed
Fix formatting of if-else in exceptions.c
1 parent 3cd38db commit 5feb970

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
@@ -2914,7 +2914,8 @@ SyntaxError_str(PyObject *op)
29142914
filename = my_basename(self->filename);
29152915
if (filename == NULL)
29162916
return NULL;
2917-
} else {
2917+
}
2918+
else {
29182919
filename = NULL;
29192920
}
29202921
have_lineno = (self->lineno != NULL) && PyLong_CheckExact(self->lineno);

0 commit comments

Comments
 (0)