Fix line wrapping

This commit is contained in:
Raymond Hettinger 2010-09-01 08:56:10 +00:00
parent d292a17fc7
commit 6b3d72c243
1 changed files with 2 additions and 4 deletions

View File

@ -86,8 +86,7 @@ insort_right(PyObject *self, PyObject *args, PyObject *kw)
if (PyList_Insert(list, index, item) < 0)
return NULL;
} else {
result = PyObject_CallMethod(list, "insert", "nO",
index, item);
result = PyObject_CallMethod(list, "insert", "nO", index, item);
if (result == NULL)
return NULL;
Py_DECREF(result);
@ -187,8 +186,7 @@ insort_left(PyObject *self, PyObject *args, PyObject *kw)
if (PyList_Insert(list, index, item) < 0)
return NULL;
} else {
result = PyObject_CallMethod(list, "insert", "iO",
index, item);
result = PyObject_CallMethod(list, "insert", "iO", index, item);
if (result == NULL)
return NULL;
Py_DECREF(result);