Lines Matching refs:last
8 PyObject *last; /* last name */
16 Py_VISIT(self->last);
24 Py_CLEAR(self->last);
47 self->last = PyUnicode_FromString("");
48 if (self->last == NULL) {
60 static char *kwlist[] = {"first", "last", "number", NULL};
61 PyObject *first = NULL, *last = NULL, *tmp;
64 &first, &last,
74 if (last) {
75 tmp = self->last;
76 Py_INCREF(last);
77 self->last = last;
117 Py_INCREF(self->last);
118 return self->last;
125 PyErr_SetString(PyExc_TypeError, "Cannot delete the last attribute");
130 "The last attribute value must be a string");
134 Py_CLEAR(self->last);
135 self->last = value;
142 {"last", (getter) Custom_getlast, (setter) Custom_setlast,
143 "last name", NULL},
150 return PyUnicode_FromFormat("%S %S", self->first, self->last);
155 "Return the name, combining the first and last name"