diff Python/bltinmodule.c @ 19786:4abfc176685c legacy-trunk

Rename 'getset' to 'property'.
author Guido van Rossum <guido@python.org>
date Thu, 06 Sep 2001 21:56:42 +0000
parents 5487d9d53a0e
children 51cc82605d32
line wrap: on
line diff
--- a/Python/bltinmodule.c	Thu Sep 06 19:35:02 2001 +0000
+++ b/Python/bltinmodule.c	Thu Sep 06 21:56:42 2001 +0000
@@ -1869,8 +1869,8 @@
 	if (PyDict_SetItemString(dict, "float",
 				 (PyObject *) &PyFloat_Type) < 0)
 		return NULL;
-	if (PyDict_SetItemString(dict, "getset",
-				 (PyObject *) &PyGetSet_Type) < 0)
+	if (PyDict_SetItemString(dict, "property",
+				 (PyObject *) &PyProperty_Type) < 0)
 		return NULL;
 	if (PyDict_SetItemString(dict, "int", (PyObject *) &PyInt_Type) < 0)
 		return NULL;