Lines Matching defs:subobj
13637 PyObject *subobj;
13643 if (!stringlib_parse_args_finds("startswith", args, &subobj, &start, &end))
13645 if (PyTuple_Check(subobj)) {
13647 for (i = 0; i < PyTuple_GET_SIZE(subobj); i++) {
13648 substring = PyTuple_GET_ITEM(subobj, i);
13666 if (!PyUnicode_Check(subobj)) {
13669 "a tuple of str, not %.100s", Py_TYPE(subobj)->tp_name);
13672 result = tailmatch(self, subobj, start, end, -1);
13691 PyObject *subobj;
13697 if (!stringlib_parse_args_finds("endswith", args, &subobj, &start, &end))
13699 if (PyTuple_Check(subobj)) {
13701 for (i = 0; i < PyTuple_GET_SIZE(subobj); i++) {
13702 substring = PyTuple_GET_ITEM(subobj, i);
13719 if (!PyUnicode_Check(subobj)) {
13722 "a tuple of str, not %.100s", Py_TYPE(subobj)->tp_name);
13725 result = tailmatch(self, subobj, start, end, +1);