diff options
author | Benjamin Peterson <benjamin@python.org> | 2012-10-31 03:21:10 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2012-10-31 03:21:10 (GMT) |
commit | c43112823b1f748822c43ad42566537580c02af2 (patch) | |
tree | 38d69a0537c1246c02c64c5711e5efa07787e400 /Modules | |
parent | e9aeca7c248bab56201ee5949e0535f96b54865b (diff) | |
download | cpython-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.c | 3 |
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; |