Lines Matching refs:name
1186 .name = "operator.itemgetter",
1240 "attribute name must be a string");
1293 /* now add the last dotless name */
1532 After f = attrgetter('name'), the call f(r) returns r.name.\n\
1533 After g = attrgetter('name', 'date'), the call g(r) returns (r.name, r.date).\n\
1534 After h = attrgetter('name.first', 'name.last'), the call h(r) returns\n\
1535 (r.name.first, r.name.last).");
1552 .name = "operator.attrgetter",
1565 PyObject *name;
1575 PyObject *name;
1579 "one argument, the method name");
1583 name = PyTuple_GET_ITEM(args, 0);
1584 if (!PyUnicode_Check(name)) {
1586 "method name must be a string");
1597 name = PyTuple_GET_ITEM(args, 0);
1598 Py_INCREF(name);
1599 PyUnicode_InternInPlace(&name);
1600 mc->name = name;
1618 Py_CLEAR(mc->name);
1637 Py_VISIT(mc->name);
1654 method = PyObject_GetAttr(obj, mc->name);
1679 repr = PyUnicode_FromFormat("%s(%R)", Py_TYPE(mc)->tp_name, mc->name);
1729 mc->name, joinedargreprs);
1748 Py_INCREF(mc->name);
1749 PyTuple_SET_ITEM(newargs, 0, mc->name);
1772 newargs[1] = mc->name;
1786 "methodcaller(name, ...) --> methodcaller object\n\
1789 After f = methodcaller('name'), the call f(r) returns r.name().\n\
1790 After g = methodcaller('name', 'date', foo=1), the call g(r) returns\n\
1791 r.name('date', foo=1).");
1807 .name = "operator.methodcaller",