aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'pypy/objspace/fake/objspace.py')
-rw-r--r--pypy/objspace/fake/objspace.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/pypy/objspace/fake/objspace.py b/pypy/objspace/fake/objspace.py
index 90baf658d0..7aba9d6559 100644
--- a/pypy/objspace/fake/objspace.py
+++ b/pypy/objspace/fake/objspace.py
@@ -338,11 +338,7 @@ class FakeObjSpace(ObjSpace):
is_root(w_subtype)
return instantiate(cls)
- def decode_index(self, w_index_or_slice, seqlength):
- is_root(w_index_or_slice)
- return (NonConstant(42), NonConstant(42), NonConstant(42))
-
- def decode_index4(self, w_index_or_slice, seqlength):
+ def decode_index4(self, w_index_or_slice, w_obj):
is_root(w_index_or_slice)
return (NonConstant(42), NonConstant(42),
NonConstant(42), NonConstant(42))