From 1056ca264f97e42ffafe8451720ca59147a3134c Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Wed, 9 Jun 2010 19:45:04 +0000 Subject: fix code formatting --- Python/Python-ast.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Python/Python-ast.c') diff --git a/Python/Python-ast.c b/Python/Python-ast.c index 6b3424a292..9a93bf3e47 100644 --- a/Python/Python-ast.c +++ b/Python/Python-ast.c @@ -527,8 +527,9 @@ static int add_attributes(PyTypeObject* type, char**attrs, int num_fields) { int i, result; PyObject *s, *l = PyTuple_New(num_fields); - if (!l) return 0; - for(i = 0; i < num_fields; i++) { + if (!l) + return 0; + for (i = 0; i < num_fields; i++) { s = PyString_FromString(attrs[i]); if (!s) { Py_DECREF(l); -- cgit v1.2.1