commit | 6da3ed63d83375f183fa94cbf7c55acea128e088 | [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 | 40bd95eb9a5deff7dc761a9ebc409a7f7b549a66 | |
parent | 1625d88709abb45d392d1f48b1803ab5dde3bd77 [diff] [blame] |
initialize more global type objects (closes #16369)
diff --git a/Modules/symtablemodule.c b/Modules/symtablemodule.c index 60f9ba9..15c0f92 100644 --- a/Modules/symtablemodule.c +++ b/Modules/symtablemodule.c
@@ -52,6 +52,9 @@ { PyObject *m; + if (PyType_Ready(&PySTEntry_Type) < 0) + return; + m = Py_InitModule("_symtable", symtable_methods); if (m == NULL) return;