Lines Matching refs:first
7 PyObject *first; /* first name */
15 Py_VISIT(self->first);
23 Py_CLEAR(self->first);
42 self->first = PyUnicode_FromString("");
43 if (self->first == NULL) {
60 static char *kwlist[] = {"first", "last", "number", NULL};
61 PyObject *first = NULL, *last = NULL, *tmp;
64 &first, &last,
68 if (first) {
69 tmp = self->first;
70 Py_INCREF(first);
71 self->first = first;
92 Py_INCREF(self->first);
93 return self->first;
100 PyErr_SetString(PyExc_TypeError, "Cannot delete the first attribute");
105 "The first attribute value must be a string");
109 Py_CLEAR(self->first);
110 self->first = value;
140 {"first", (getter) Custom_getfirst, (setter) Custom_setfirst,
141 "first name", NULL},
150 return PyUnicode_FromFormat("%S %S", self->first, self->last);
155 "Return the name, combining the first and last name"