1
0

rename numContextLines to num_context_lines for consistency.

This commit is contained in:
Nathan TeBlunthuis
2025-08-01 09:28:41 -07:00
parent be70b06677
commit a533b1722a
2 changed files with 2 additions and 2 deletions

View File

@@ -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,