Lines Matching defs:value
81 Custom_setfirst(CustomObject *self, PyObject *value, void *closure)
84 if (value == NULL) {
88 if (!PyUnicode_Check(value)) {
90 "The first attribute value must be a string");
94 Py_INCREF(value);
95 self->first = value;
108 Custom_setlast(CustomObject *self, PyObject *value, void *closure)
111 if (value == NULL) {
115 if (!PyUnicode_Check(value)) {
117 "The last attribute value must be a string");
121 Py_INCREF(value);
122 self->last = value;