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;
70 {"last", T_OBJECT_EX, offsetof(CustomObject, last), 0,
71 "last name"},
84 if (self->last == NULL) {
85 PyErr_SetString(PyExc_AttributeError, "last");
88 return PyUnicode_FromFormat("%S %S", self->first, self->last);
93 "Return the name, combining the first and last name"