Lines Matching defs:def
3287 match_getslice_by_index(MatchObject* self, Py_ssize_t index, PyObject* def)
3302 Py_INCREF(def);
3303 return def;
3335 match_getslice(MatchObject* self, PyObject* index, PyObject* def)
3337 return match_getslice_by_index(self, match_getindex(self, index), def);
3391 PyObject* def = Py_None;
3393 if (!PyArg_ParseTupleAndKeywords(args, kw, "|O:groups", kwlist, &def))
3402 item = match_getslice_by_index(self, index, def);
3420 PyObject* def = Py_None;
3422 if (!PyArg_ParseTupleAndKeywords(args, kw, "|O:groupdict", kwlist, &def))
3440 value = match_getslice(self, key, def);