summaryrefslogtreecommitdiffstats
path: root/Python/Python-ast.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/Python-ast.c')
-rw-r--r--Python/Python-ast.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/Python-ast.c b/Python/Python-ast.c
index cf27129..6935851 100644
--- a/Python/Python-ast.c
+++ b/Python/Python-ast.c
@@ -392,6 +392,7 @@ static int initialized;
static int init_types(void)
{
if (initialized) return 1;
+ initialized = 1;
mod_type = make_type("mod", &PyBaseObject_Type, NULL, 0);
Module_type = make_type("Module", mod_type, Module_fields, 1);
Interactive_type = make_type("Interactive", mod_type,