commit | c43112823b1f748822c43ad42566537580c02af2 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Tue Oct 30 23:21:10 2012 -0400 |
committer | Benjamin Peterson <benjamin@python.org> | Tue Oct 30 23:21:10 2012 -0400 |
tree | 38d69a0537c1246c02c64c5711e5efa07787e400 | |
parent | e9aeca7c248bab56201ee5949e0535f96b54865b [diff] [blame] |
initialize more global type objects (closes #16369)
diff --git a/Modules/symtablemodule.c b/Modules/symtablemodule.c index f6201e5..02a81f1 100644 --- a/Modules/symtablemodule.c +++ b/Modules/symtablemodule.c
@@ -63,6 +63,9 @@ { PyObject *m; + if (PyType_Ready(&PySTEntry_Type) < 0) + return NULL; + m = PyModule_Create(&symtablemodule); if (m == NULL) return NULL;