Skip to content

Commit b6fda10

Browse files
committed
Fix inconsistent style
1 parent ebcc795 commit b6fda10

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Objects/exceptions.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2707,8 +2707,8 @@ AttributeError_str(PyObject *op)
27072707
{
27082708
PyAttributeErrorObject *self = PyAttributeErrorObject_CAST(op);
27092709
if (!self->obj || !self->name || PyTuple_GET_SIZE(self->args) > 1
2710-
|| (PyTuple_GET_SIZE(self->args) == 1 &&
2711-
!PyUnicode_Equal(PyTuple_GET_ITEM(self->args, 0), self->name)))
2710+
|| (PyTuple_GET_SIZE(self->args) == 1
2711+
&& !PyUnicode_Equal(PyTuple_GET_ITEM(self->args, 0), self->name)))
27122712
{
27132713
return BaseException_str(op);
27142714
}

0 commit comments

Comments
 (0)