Skip to content

Commit

Permalink
Fix line wrapping
Browse files Browse the repository at this point in the history
  • Loading branch information
rhettinger committed Sep 1, 2010
1 parent d292a17 commit 6b3d72c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Modules/_bisectmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 6b3d72c

Please sign in to comment.