summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2012-10-31 03:21:10 (GMT)
committerBenjamin Peterson <benjamin@python.org>2012-10-31 03:21:10 (GMT)
commitc43112823b1f748822c43ad42566537580c02af2 (patch)
tree38d69a0537c1246c02c64c5711e5efa07787e400 /Modules
parente9aeca7c248bab56201ee5949e0535f96b54865b (diff)
downloadcpython-c43112823b1f748822c43ad42566537580c02af2.zip
cpython-c43112823b1f748822c43ad42566537580c02af2.tar.gz
cpython-c43112823b1f748822c43ad42566537580c02af2.tar.bz2
initialize more global type objects (closes #16369)
Diffstat (limited to 'Modules')
-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;