Skip to content

Commit 3854563

Browse files
committed
Improve formatting
1 parent e5c4922 commit 3854563

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
@@ -2710,8 +2710,8 @@ AttributeError_str(PyObject *op)
27102710
self->obj
27112711
&& self->name
27122712
&& (!PyTuple_GET_SIZE(self->args)
2713-
|| (PyTuple_GET_SIZE(self->args) == 1
2714-
&& PyUnicode_Equal(PyTuple_GET_ITEM(self->args, 0), self->name))
2713+
|| (PyTuple_GET_SIZE(self->args) == 1
2714+
&& PyUnicode_Equal(PyTuple_GET_ITEM(self->args, 0), self->name))
27152715
)
27162716
) {
27172717
return PyUnicode_FromFormat("%R has no attribute '%U'",

0 commit comments

Comments
 (0)