mirror of
https://github.com/python/cpython.git
synced 2025-08-28 04:35:02 +00:00
Rename 'getset' to 'property'.
This commit is contained in:
parent
2872e8a654
commit
8bce4acb17
6 changed files with 45 additions and 45 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue