There was an error while loading. Please reload this page.
1 parent d292a17 commit 6b3d72cCopy full SHA for 6b3d72c
1 file changed
Modules/_bisectmodule.c
@@ -86,8 +86,7 @@ insort_right(PyObject *self, PyObject *args, PyObject *kw)
86
if (PyList_Insert(list, index, item) < 0)
87
return NULL;
88
} else {
89
- result = PyObject_CallMethod(list, "insert", "nO",
90
- index, item);
+ result = PyObject_CallMethod(list, "insert", "nO", index, item);
91
if (result == NULL)
92
93
Py_DECREF(result);
@@ -187,8 +186,7 @@ insort_left(PyObject *self, PyObject *args, PyObject *kw)
187
186
188
189
190
- result = PyObject_CallMethod(list, "insert", "iO",
191
+ result = PyObject_CallMethod(list, "insert", "iO", index, item);
192
193
194
0 commit comments