Permalink
Browse files

fix copy&paste bug in pypy code

  • Loading branch information...
1 parent 621dbe6 commit 6b1f56e915a147c256daee15d74b917fd4944219 @scoder scoder committed Aug 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Cython/Utility/Optimize.c
@@ -222,7 +222,7 @@ static int __Pyx_PyBytes_Tailmatch(PyObject* self, PyObject* substr, Py_ssize_t
#else
PyObject* sub = PySequence_GetItem(substr, i);
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);
#endif
if (result) {

0 comments on commit 6b1f56e

Please sign in to comment.