summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2012-10-31 03:31:12 (GMT)
committerBenjamin Peterson <benjamin@python.org>2012-10-31 03:31:12 (GMT)
commit7ff2094bc7e2c6ecb735116b2187187bb4f58daa (patch)
treee6323d6ceb223235014f15fc833a243298f1684a /Modules
parentbfa664c5cf35345a631b7c6ffca83464d71072fe (diff)
parente8ea97fffb591cd71090d0f3114bf1d3bcd31454 (diff)
downloadcpython-7ff2094bc7e2c6ecb735116b2187187bb4f58daa.zip
cpython-7ff2094bc7e2c6ecb735116b2187187bb4f58daa.tar.gz
cpython-7ff2094bc7e2c6ecb735116b2187187bb4f58daa.tar.bz2
merge 3.3 (#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;