Function to merge sorted lists

Ignacio Vazquez-Abrams ignacio at openservices.net
Fri Aug 31 10:05:55 CEST 2001


D'oh.

I already found a problem; the attached patch will fix it.

patch < ecjmodule-secondlist.patch

Then run 'make install' again.

-- 
Ignacio Vazquez-Abrams  <ignacio at openservices.net>
-------------- next part --------------
--- ecjmodule.c.orig	Fri Aug 31 02:47:04 2001
+++ ecjmodule.c	Fri Aug 31 02:48:23 2001
@@ -27,7 +27,7 @@
 //     n2 = len(seq2)
   if (!PyList_Check(seq2))
   {
-    PyErr_SetString(PyExc_TypeError, "first argument to merge must be a list");
+    PyErr_SetString(PyExc_TypeError, "second argument to merge must be a list");
     return NULL;
   };
 


More information about the Python-list mailing list