commit | 24b11fb1730e37a4aa71434c130301a9369c835f | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Fri Apr 05 19:32:36 2013 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Fri Apr 05 19:32:36 2013 +0200 |
tree | 0b8dc8fb4edf02132027a7b2957e523ec226c71c | |
parent | b3049f4a34af835f558877c9f4c323e50269c00f [diff] [blame] |
updated for version 7.3.881 Problem: Python list does not work correctly. Solution: Fix it and add a test. (Yukihiro Nakadaira)
diff --git a/src/if_py_both.h b/src/if_py_both.h index 1d99909..f5617ac 100644 --- a/src/if_py_both.h +++ b/src/if_py_both.h
@@ -1139,7 +1139,7 @@ for (i = 0; i < n; ++i) { - PyObject *item = ListItem(self, i); + PyObject *item = ListItem(self, first + i); if (item == NULL) { Py_DECREF(list);