Skip to content

Commit 7ad5204

Browse files
committed
} else {
1 parent c50a356 commit 7ad5204

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Objects/exceptions.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2716,8 +2716,7 @@ AttributeError_str(PyObject *op)
27162716
|| PyTuple_GET_SIZE(self->args) != 0
27172717
) {
27182718
ret = BaseException_str(op);
2719-
}
2720-
else {
2719+
} else {
27212720
ret = PyUnicode_FromFormat("%R has no attribute '%U'",
27222721
self->obj, self->name);
27232722
}

0 commit comments

Comments
 (0)