Lines Matching full:last
7 PyObject *last; /* last name */ member
15 Py_XDECREF(self->last); in Custom_dealloc()
30 self->last = PyUnicode_FromString(""); in Custom_new()
31 if (self->last == NULL) { in Custom_new()
43 static char *kwlist[] = {"first", "last", "number", NULL}; in Custom_init()
44 PyObject *first = NULL, *last = NULL, *tmp; in Custom_init() local
47 &first, &last, in Custom_init()
57 if (last) { in Custom_init()
58 tmp = self->last; in Custom_init()
59 Py_INCREF(last); in Custom_init()
60 self->last = last; in Custom_init()
102 Py_INCREF(self->last); in Custom_getlast()
103 return self->last; in Custom_getlast()
111 PyErr_SetString(PyExc_TypeError, "Cannot delete the last attribute"); in Custom_setlast()
116 "The last attribute value must be a string"); in Custom_setlast()
119 tmp = self->last; in Custom_setlast()
121 self->last = value; in Custom_setlast()
129 {"last", (getter) Custom_getlast, (setter) Custom_setlast,
130 "last name", NULL},
137 return PyUnicode_FromFormat("%S %S", self->first, self->last); in Custom_name()
142 "Return the name, combining the first and last name"