Commit 355753d9 authored by Andreas Jung's avatar Andreas Jung

fixed problem with keyword arguments

parent ccd0ad40
...@@ -313,7 +313,7 @@ PyUnicodeObject *prepareString(PyUnicodeObject *o) ...@@ -313,7 +313,7 @@ PyUnicodeObject *prepareString(PyUnicodeObject *o)
return u; return u;
} }
static char *splitter_args[]={"encoding",NULL}; static char *splitter_args[]={"doc","synstop","encoding",NULL};
static PyObject * static PyObject *
...@@ -384,7 +384,7 @@ static char Splitter_module_documentation[] = ...@@ -384,7 +384,7 @@ static char Splitter_module_documentation[] =
"\n" "\n"
"for use in an inverted index\n" "for use in an inverted index\n"
"\n" "\n"
"$Id: UnicodeSplitter.c,v 1.6 2001/10/17 19:11:09 andreasjung Exp $\n" "$Id: UnicodeSplitter.c,v 1.7 2001/10/18 15:56:20 andreasjung Exp $\n"
; ;
...@@ -392,7 +392,7 @@ void ...@@ -392,7 +392,7 @@ void
initUnicodeSplitter(void) initUnicodeSplitter(void)
{ {
PyObject *m, *d; PyObject *m, *d;
char *rev="$Revision: 1.6 $"; char *rev="$Revision: 1.7 $";
/* Create the module and add the functions */ /* Create the module and add the functions */
m = Py_InitModule4("UnicodeSplitter", Splitter_module_methods, m = Py_InitModule4("UnicodeSplitter", Splitter_module_methods,
......
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