Rename 'getset' to 'property'.

This commit is contained in:
Guido van Rossum 2001-09-06 21:56:42 +00:00
parent 2872e8a654
commit 8bce4acb17
6 changed files with 45 additions and 45 deletions

View file

@ -1869,8 +1869,8 @@ _PyBuiltin_Init(void)
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;