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

Skip to content

Commit 41ece39

Browse files
committed
fix formatting
1 parent 568867a commit 41ece39

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)