summaryrefslogtreecommitdiffstats
path: root/Modules/symtablemodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/symtablemodule.c')
-rw-r--r--Modules/symtablemodule.c3
1 files changed, 3 insertions, 0 deletions
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 @@ PyInit__symtable(void)
{
PyObject *m;
+ if (PyType_Ready(&PySTEntry_Type) < 0)
+ return NULL;
+
m = PyModule_Create(&symtablemodule);
if (m == NULL)
return NULL;