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 | 6da3ed63d83375f183fa94cbf7c55acea128e088 (patch) | |
tree | 40bd95eb9a5deff7dc761a9ebc409a7f7b549a66 /Modules | |
parent | 1625d88709abb45d392d1f48b1803ab5dde3bd77 (diff) | |
download | cpython-6da3ed63d83375f183fa94cbf7c55acea128e088.zip cpython-6da3ed63d83375f183fa94cbf7c55acea128e088.tar.gz cpython-6da3ed63d83375f183fa94cbf7c55acea128e088.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 60f9ba9..15c0f92 100644 --- a/Modules/symtablemodule.c +++ b/Modules/symtablemodule.c @@ -52,6 +52,9 @@ init_symtable(void) { PyObject *m; + if (PyType_Ready(&PySTEntry_Type) < 0) + return; + m = Py_InitModule("_symtable", symtable_methods); if (m == NULL) return; |