Kaydet (Commit) 41ece39c authored tarafından Benjamin Peterson's avatar Benjamin Peterson

fix formatting

üst 568867a6
...@@ -479,13 +479,13 @@ PyObject_Bytes(PyObject *v) ...@@ -479,13 +479,13 @@ PyObject_Bytes(PyObject *v)
result = PyObject_CallFunctionObjArgs(func, NULL); result = PyObject_CallFunctionObjArgs(func, NULL);
Py_DECREF(func); Py_DECREF(func);
if (result == NULL) if (result == NULL)
return NULL; return NULL;
if (!PyBytes_Check(result)) { if (!PyBytes_Check(result)) {
PyErr_Format(PyExc_TypeError, PyErr_Format(PyExc_TypeError,
"__bytes__ returned non-bytes (type %.200s)", "__bytes__ returned non-bytes (type %.200s)",
Py_TYPE(result)->tp_name); Py_TYPE(result)->tp_name);
Py_DECREF(result); Py_DECREF(result);
return NULL; return NULL;
} }
return result; return result;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment