Commit 6b1f56e9 authored by Stefan Behnel's avatar Stefan Behnel

fix copy&paste bug in pypy code

parent 621dbe64
...@@ -222,7 +222,7 @@ static int __Pyx_PyBytes_Tailmatch(PyObject* self, PyObject* substr, Py_ssize_t ...@@ -222,7 +222,7 @@ static int __Pyx_PyBytes_Tailmatch(PyObject* self, PyObject* substr, Py_ssize_t
#else #else
PyObject* sub = PySequence_GetItem(substr, i); PyObject* sub = PySequence_GetItem(substr, i);
if (unlikely(!sub)) return -1; if (unlikely(!sub)) return -1;
result = __Pyx_PyBytes_SingleTailmatch(s, sub, start, end, direction); result = __Pyx_PyBytes_SingleTailmatch(self, sub, start, end, direction);
Py_DECREF(sub); Py_DECREF(sub);
#endif #endif
if (result) { if (result) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment