Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r83963:65b5c6e301a2
Date: 2016-04-27 09:47 +0200
http://bitbucket.org/pypy/pypy/changeset/65b5c6e301a2/

Log:    uh

diff --git a/pypy/module/cpyext/listobject.py b/pypy/module/cpyext/listobject.py
--- a/pypy/module/cpyext/listobject.py
+++ b/pypy/module/cpyext/listobject.py
@@ -32,7 +32,7 @@
     reference in list at position i will be leaked.
     """
     assert isinstance(w_list, W_ListObject)
-    assert 0 <= index < w_list.length
+    assert 0 <= index < w_list.length()
     # Deliberately leak, so that it can be safely decref'd.
     make_ref(space, w_list.getitem(index))
     Py_DecRef(space, w_item)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to