diff options
author | Benjamin Peterson <benjamin@python.org> | 2010-09-11 16:39:57 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2010-09-11 16:39:57 (GMT) |
commit | 41ece39c217db817a1364cc164178068836674e9 (patch) | |
tree | 86f1aea6dca2bbe0b8f0b65a9b2ae927e2a9fa2a /Objects | |
parent | 568867a6f20c5944c0c0aba69603a4d8ff62dae6 (diff) | |
download | cpython-41ece39c217db817a1364cc164178068836674e9.zip cpython-41ece39c217db817a1364cc164178068836674e9.tar.gz cpython-41ece39c217db817a1364cc164178068836674e9.tar.bz2 |
fix formatting
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/object.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Objects/object.c b/Objects/object.c index 3bde659..ff3363f 100644 --- a/Objects/object.c +++ b/Objects/object.c @@ -479,13 +479,13 @@ PyObject_Bytes(PyObject *v) result = PyObject_CallFunctionObjArgs(func, NULL); Py_DECREF(func); if (result == NULL) - return NULL; + return NULL; if (!PyBytes_Check(result)) { - PyErr_Format(PyExc_TypeError, - "__bytes__ returned non-bytes (type %.200s)", - Py_TYPE(result)->tp_name); - Py_DECREF(result); - return NULL; + PyErr_Format(PyExc_TypeError, + "__bytes__ returned non-bytes (type %.200s)", + Py_TYPE(result)->tp_name); + Py_DECREF(result); + return NULL; } return result; } |