mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
explicitly init flags in methodlists
This commit is contained in:
parent
2b7e04a9d9
commit
295d171650
3 changed files with 22 additions and 18 deletions
|
@ -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 */
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue