diff Objects/object.c @ 19040:4df72ea78ae8 legacy-trunk

- 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).
author Guido van Rossum <guido@python.org>
date Tue, 07 Aug 2001 17:24:28 +0000
parents 09df3254b49d
children 1e87db0ca248
line wrap: on
line diff
--- a/Objects/object.c	Tue Aug 07 17:19:25 2001 +0000
+++ b/Objects/object.c	Tue Aug 07 17:24:28 2001 +0000
@@ -1160,7 +1160,7 @@
 	PyObject **dictptr;
 
 	if (tp->tp_dict == NULL) {
-		if (PyType_InitDict(tp) < 0)
+		if (PyType_Ready(tp) < 0)
 			return NULL;
 	}
 
@@ -1207,7 +1207,7 @@
 	PyObject **dictptr;
 
 	if (tp->tp_dict == NULL) {
-		if (PyType_InitDict(tp) < 0)
+		if (PyType_Ready(tp) < 0)
 			return -1;
 	}