mirror of https://github.com/python/cpython
Fix line wrapping
This commit is contained in:
parent
d292a17fc7
commit
6b3d72c243
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue