diff --git a/pywikidiff2/pywikidiff2.cpp b/pywikidiff2/pywikidiff2.cpp index f986a86..d2286bd 100644 --- a/pywikidiff2/pywikidiff2.cpp +++ b/pywikidiff2/pywikidiff2.cpp @@ -45,7 +45,7 @@ pywikidiff2_init(pywikidiff2Obj *self, PyObject *args, PyObject *kwds) { // here's where we set non-default configuration values static char *kwlist[] = {"num_context_lines", "moved_line_threshold", "change_threshold", "moved_paragraph_detection_cutoff", "max_word_level_diff_complexity", "max_split_size", "initial_split_threshold", "final_split_threshold", "words_cache_capacity", "diff_cache_capacity", "stats_cache_capacity", NULL}; - if (!PyArg_ParseTupleAndKeywords(args, kwds, "|iffiiiff", kwlist, + if (!PyArg_ParseTupleAndKeywords(args, kwds, "|iffiiiffiii", kwlist, &self->config.numContextLines, &self->config.movedLineThreshold, &self->config.changeThreshold,