Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 42bc691

Browse files
committed
Merged revisions 84717 via svnmerge from
svn+ssh://[email protected]/python/branches/py3k ........ r84717 | benjamin.peterson | 2010-09-11 11:39:57 -0500 (Sat, 11 Sep 2010) | 1 line fix formatting ........
1 parent 5d7d9e6 commit 42bc691

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

Objects/object.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -479,13 +479,13 @@ PyObject_Bytes(PyObject *v)
479479
result = PyObject_CallFunctionObjArgs(func, NULL);
480480
Py_DECREF(func);
481481
if (result == NULL)
482-
return NULL;
482+
return NULL;
483483
if (!PyBytes_Check(result)) {
484-
PyErr_Format(PyExc_TypeError,
485-
"__bytes__ returned non-bytes (type %.200s)",
486-
Py_TYPE(result)->tp_name);
487-
Py_DECREF(result);
488-
return NULL;
484+
PyErr_Format(PyExc_TypeError,
485+
"__bytes__ returned non-bytes (type %.200s)",
486+
Py_TYPE(result)->tp_name);
487+
Py_DECREF(result);
488+
return NULL;
489489
}
490490
return result;
491491
}

0 commit comments

Comments
 (0)