diff options
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/typeobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/typeobject.c b/Objects/typeobject.c index 07032f4..c79636d 100644 --- a/Objects/typeobject.c +++ b/Objects/typeobject.c @@ -3281,7 +3281,7 @@ slot_tp_descr_set(PyObject *self, PyObject *target, PyObject *value) static PyObject *del_str, *set_str; if (value == NULL) - res = call_method(self, "__del__", &del_str, + res = call_method(self, "__delete__", &del_str, "(O)", target); else res = call_method(self, "__set__", &set_str, |