summaryrefslogtreecommitdiffstats
path: root/Modules/_bisectmodule.c
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2012-05-16 13:01:40 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2012-05-16 13:01:40 (GMT)
commit38fbd799d1a45aa60454f7cb8b951e4f2b185e91 (patch)
treef842c3c67a3c619887d1379283c59b3f5bc353d7 /Modules/_bisectmodule.c
parent4cf3f69250c801e20fd8ac6d60c1c11881e5f141 (diff)
downloadcpython-38fbd799d1a45aa60454f7cb8b951e4f2b185e91.zip
cpython-38fbd799d1a45aa60454f7cb8b951e4f2b185e91.tar.gz
cpython-38fbd799d1a45aa60454f7cb8b951e4f2b185e91.tar.bz2
Issue #14829: Fix bisect issues under 64-bit Windows.
Diffstat (limited to 'Modules/_bisectmodule.c')
-rw-r--r--Modules/_bisectmodule.c2
1 files changed, 1 insertions, 1 deletions
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 @@ insort_left(PyObject *self, PyObject *args, PyObject *kw)
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;