commit | 38fbd799d1a45aa60454f7cb8b951e4f2b185e91 | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Wed May 16 15:01:40 2012 +0200 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Wed May 16 15:01:40 2012 +0200 |
tree | f842c3c67a3c619887d1379283c59b3f5bc353d7 | |
parent | 4cf3f69250c801e20fd8ac6d60c1c11881e5f141 [diff] [blame] |
Issue #14829: Fix bisect issues under 64-bit Windows.
diff --git a/Modules/_bisectmodule.c b/Modules/_bisectmodule.c index 25e5071..b6652c0 100644 --- a/Modules/_bisectmodule.c +++ b/Modules/_bisectmodule.c
@@ -195,7 +195,7 @@ if (PyList_Insert(list, index, item) < 0) return NULL; } else { - result = PyObject_CallMethod(list, "insert", "iO", + result = PyObject_CallMethod(list, "insert", "nO", index, item); if (result == NULL) return NULL;