diff options
author | Irit Katriel <1055913+iritkatriel@users.noreply.github.com> | 2022-03-14 23:28:54 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-14 23:28:54 (GMT) |
commit | e3d348a5252549708fd19338b675a2c23b60d677 (patch) | |
tree | f3a4f5166bb2b1c17b5b93bbbb00281b072791cc /Objects | |
parent | 19f69993ae97db0bbea3b845a33b060b73b658b3 (diff) | |
download | cpython-e3d348a5252549708fd19338b675a2c23b60d677.zip cpython-e3d348a5252549708fd19338b675a2c23b60d677.tar.gz cpython-e3d348a5252549708fd19338b675a2c23b60d677.tar.bz2 |
bpo-43721: Fix docstrings for property.getter/setter/deleter (GH-31046)
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/descrobject.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Objects/descrobject.c b/Objects/descrobject.c index 2d4cfb5..e255d4a 100644 --- a/Objects/descrobject.c +++ b/Objects/descrobject.c @@ -1501,7 +1501,7 @@ static PyMemberDef property_members[] = { PyDoc_STRVAR(getter_doc, - "Descriptor to change the getter on a property."); + "Descriptor to obtain a copy of the property with a different getter."); static PyObject * property_getter(PyObject *self, PyObject *getter) @@ -1511,7 +1511,7 @@ property_getter(PyObject *self, PyObject *getter) PyDoc_STRVAR(setter_doc, - "Descriptor to change the setter on a property."); + "Descriptor to obtain a copy of the property with a different setter."); static PyObject * property_setter(PyObject *self, PyObject *setter) @@ -1521,7 +1521,7 @@ property_setter(PyObject *self, PyObject *setter) PyDoc_STRVAR(deleter_doc, - "Descriptor to change the deleter on a property."); + "Descriptor to obtain a copy of the property with a different deleter."); static PyObject * property_deleter(PyObject *self, PyObject *deleter) |