equal
deleted
inserted
replaced
716 copy->numlines = 0; |
716 copy->numlines = 0; |
717 copy->pydata = self->pydata; |
717 copy->pydata = self->pydata; |
718 Py_INCREF(self->pydata); |
718 Py_INCREF(self->pydata); |
719 for (i = 0; i < self->numlines; i++) { |
719 for (i = 0; i < self->numlines; i++) { |
720 PyObject *arglist = NULL, *result = NULL; |
720 PyObject *arglist = NULL, *result = NULL; |
721 arglist = Py_BuildValue("(s)", self->lines[i].start); |
721 arglist = Py_BuildValue(PY23("(s)", "(y)"), |
|
722 self->lines[i].start); |
722 if (!arglist) { |
723 if (!arglist) { |
723 return NULL; |
724 return NULL; |
724 } |
725 } |
725 result = PyObject_CallObject(matchfn, arglist); |
726 result = PyObject_CallObject(matchfn, arglist); |
726 Py_DECREF(arglist); |
727 Py_DECREF(arglist); |