summaryrefslogtreecommitdiffstats
path: root/Modules/regexmodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-02-19 15:55:19 (GMT)
committerGuido van Rossum <guido@python.org>1995-02-19 15:55:19 (GMT)
commit295d171650758106cd4c24410f5a5c0740b914b2 (patch)
tree0cbd98e026c3adb19be0ec0bd1ad15a6ae9653ca /Modules/regexmodule.c
parent2b7e04a9d934afdedde936f2806a6723e62777de (diff)
downloadcpython-295d171650758106cd4c24410f5a5c0740b914b2.zip
cpython-295d171650758106cd4c24410f5a5c0740b914b2.tar.gz
cpython-295d171650758106cd4c24410f5a5c0740b914b2.tar.bz2
explicitly init flags in methodlists
Diffstat (limited to 'Modules/regexmodule.c')
-rw-r--r--Modules/regexmodule.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/Modules/regexmodule.c b/Modules/regexmodule.c
index 9b40ab5..893f4fc 100644
--- a/Modules/regexmodule.c
+++ b/Modules/regexmodule.c
@@ -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 */
};