diff Modules/symtablemodule.c @ 80072:eec0cafe171d 3.2

initialize more global type objects (closes #16369)
author Benjamin Peterson <benjamin@python.org>
date Tue, 30 Oct 2012 23:21:10 -0400
parents 3c9232a684ae
children bc259b221cb8 12cbb5183d98
line wrap: on
line diff
--- a/Modules/symtablemodule.c	Mon Oct 29 18:16:39 2012 -0500
+++ b/Modules/symtablemodule.c	Tue Oct 30 23:21:10 2012 -0400
@@ -63,6 +63,9 @@
 {
     PyObject *m;
 
+    if (PyType_Ready(&PySTEntry_Type) < 0)
+        return NULL;
+
     m = PyModule_Create(&symtablemodule);
     if (m == NULL)
         return NULL;