Kaydet (Commit) 6b3d72c2 authored tarafından Raymond Hettinger's avatar Raymond Hettinger

Fix line wrapping

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