Skip to content

Commit 57f8bf6

Browse files
committed
Revert "Fix formatting of if-else in exceptions.c"
This reverts commit 5feb970.
1 parent b5fcfa7 commit 57f8bf6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Objects/exceptions.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2912,8 +2912,7 @@ SyntaxError_str(PyObject *op)
29122912
filename = my_basename(self->filename);
29132913
if (filename == NULL)
29142914
return NULL;
2915-
}
2916-
else {
2915+
} else {
29172916
filename = NULL;
29182917
}
29192918
have_lineno = (self->lineno != NULL) && PyLong_CheckExact(self->lineno);

0 commit comments

Comments
 (0)