[pypy-commit] pypy dynamic-specialized-tuple: one mroe fix
alex_gaynor
noreply at buildbot.pypy.org
Tue Apr 17 17:12:30 CEST 2012
Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch: dynamic-specialized-tuple
Changeset: r54467:da02bab14d8c
Date: 2012-04-17 11:12 -0400
http://bitbucket.org/pypy/pypy/changeset/da02bab14d8c/
Log: one mroe fix
diff --git a/pypy/module/cpyext/sequence.py b/pypy/module/cpyext/sequence.py
--- a/pypy/module/cpyext/sequence.py
+++ b/pypy/module/cpyext/sequence.py
@@ -59,7 +59,7 @@
w_res = w_obj.getitem(index)
else:
assert isinstance(w_obj, tupleobject.W_TupleObject)
- w_res = w_obj.getitem(index)
+ w_res = w_obj.getitem(space, index)
return borrow_from(w_obj, w_res)
@cpython_api([PyObject], Py_ssize_t, error=CANNOT_FAIL)
More information about the pypy-commit
mailing list