Skip to content

Commit 66648dd

Browse files
author
Stefan Behnel
committed
Add braces for code style reasons.
1 parent 8bc783f commit 66648dd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Objects/typeobject.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3037,8 +3037,9 @@ _PyType_Lookup(PyTypeObject *type, PyObject *name)
30373037
the same type will call it again -- hopefully
30383038
in a context that propagates the exception out.
30393039
*/
3040-
if (error == -1)
3040+
if (error == -1) {
30413041
PyErr_Clear();
3042+
}
30423043
return NULL;
30433044
}
30443045

0 commit comments

Comments
 (0)