explicitly init flags in methodlists

This commit is contained in:
Guido van Rossum 1995-02-19 15:55:19 +00:00
parent 2b7e04a9d9
commit 295d171650
3 changed files with 22 additions and 18 deletions

View file

@ -555,11 +555,11 @@ regex_set_syntax(self, args)
}
static struct methodlist regex_global_methods[] = {
{"compile", regex_compile},
{"symcomp", regex_symcomp},
{"match", regex_match},
{"search", regex_search},
{"set_syntax", regex_set_syntax},
{"compile", regex_compile, 0},
{"symcomp", regex_symcomp, 0},
{"match", regex_match, 0},
{"search", regex_search, 0},
{"set_syntax", regex_set_syntax, 0},
{NULL, NULL} /* sentinel */
};