rename numContextLines to num_context_lines for consistency.
This commit is contained in:
@@ -44,7 +44,7 @@ static int
|
||||
pywikidiff2_init(pywikidiff2Obj *self, PyObject *args, PyObject *kwds)
|
||||
{
|
||||
// here's where we set non-default configuration values
|
||||
static char *kwlist[] = {"numContextLines", "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};
|
||||
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,
|
||||
&self->config.numContextLines,
|
||||
&self->config.movedLineThreshold,
|
||||
|
||||
Reference in New Issue
Block a user