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()
69 {"last", T_OBJECT_EX, offsetof(CustomObject, last), 0,
70 "last name"},
83 if (self->last == NULL) { in Custom_name()
84 PyErr_SetString(PyExc_AttributeError, "last"); in Custom_name()
87 return PyUnicode_FromFormat("%S %S", self->first, self->last); in Custom_name()
92 "Return the name, combining the first and last name"