Lines Matching refs:first
7 PyObject *first; /* first name */
15 Py_XDECREF(self->first);
26 self->first = PyUnicode_FromString("");
27 if (self->first == NULL) {
44 static char *kwlist[] = {"first", "last", "number", NULL};
45 PyObject *first = NULL, *last = NULL, *tmp;
48 &first, &last,
52 if (first) {
53 tmp = self->first;
54 Py_INCREF(first);
55 self->first = first;
76 Py_INCREF(self->first);
77 return self->first;
85 PyErr_SetString(PyExc_TypeError, "Cannot delete the first attribute");
90 "The first attribute value must be a string");
93 tmp = self->first;
95 self->first = value;
128 {"first", (getter) Custom_getfirst, (setter) Custom_setfirst,
129 "first name", NULL},
138 return PyUnicode_FromFormat("%S %S", self->first, self->last);
143 "Return the name, combining the first and last name"