- Rename PyType_InitDict() to PyType_Ready().
- Add an explicit call to PyType_Ready(&PyList_Type) to pythonrun.c
(just for the heck of it, really -- we should either explicitly
ready all types, or none).
diff --git a/Modules/xxsubtype.c b/Modules/xxsubtype.c
index 60d8c7d..5b8e254 100644
--- a/Modules/xxsubtype.c
+++ b/Modules/xxsubtype.c
@@ -212,9 +212,9 @@
if (m == NULL)
return;
- if (PyType_InitDict(&spamlist_type) < 0)
+ if (PyType_Ready(&spamlist_type) < 0)
return;
- if (PyType_InitDict(&spamdict_type) < 0)
+ if (PyType_Ready(&spamdict_type) < 0)
return;
d = PyModule_GetDict(m);