Lines Matching refs:last
8 PyObject *last; /* last name */
16 Py_XDECREF(self->last);
31 self->last = PyUnicode_FromString("");
32 if (self->last == NULL) {
44 static char *kwlist[] = {"first", "last", "number", NULL};
45 PyObject *first = NULL, *last = NULL, *tmp;
48 &first, &last,
58 if (last) {
59 tmp = self->last;
60 Py_INCREF(last);
61 self->last = last;
103 Py_INCREF(self->last);
104 return self->last;
112 PyErr_SetString(PyExc_TypeError, "Cannot delete the last attribute");
117 "The last attribute value must be a string");
120 tmp = self->last;
122 self->last = value;
130 {"last", (getter) Custom_getlast, (setter) Custom_setlast,
131 "last name", NULL},
138 return PyUnicode_FromFormat("%S %S", self->first, self->last);
143 "Return the name, combining the first and last name"