summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-09-06 21:56:42 (GMT)
committerGuido van Rossum <guido@python.org>2001-09-06 21:56:42 (GMT)
commit8bce4acb17ee7146c5736ad020ea0e129bd7f67b (patch)
tree6bc493ecb49a8920dbaa7904e773b9756061d8a6 /Python
parent2872e8a654dbabaadbdeb513a962b0a23533dfe3 (diff)
downloadcpython-8bce4acb17ee7146c5736ad020ea0e129bd7f67b.zip
cpython-8bce4acb17ee7146c5736ad020ea0e129bd7f67b.tar.gz
cpython-8bce4acb17ee7146c5736ad020ea0e129bd7f67b.tar.bz2
Rename 'getset' to 'property'.
Diffstat (limited to 'Python')
-rw-r--r--Python/bltinmodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c
index 55c71d3..2d8c024 100644
--- a/Python/bltinmodule.c
+++ b/Python/bltinmodule.c
@@ -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;