Author: Lukas Diekmann <[email protected]>
Branch:
Changeset: r44428:8d639235d7d9
Date: 2011-01-18 16:50 +0100
http://bitbucket.org/pypy/pypy/changeset/8d639235d7d9/
Log: (l.diekmann, cfbolz): use implemented method instead
diff --git a/pypy/objspace/std/smalltupleobject.py
b/pypy/objspace/std/smalltupleobject.py
--- a/pypy/objspace/std/smalltupleobject.py
+++ b/pypy/objspace/std/smalltupleobject.py
@@ -42,7 +42,7 @@
registerimplementation(W_SmallTupleObject)
def delegate_SmallTuple2Tuple(space, w_small):
- return W_TupleObject([w_small.w_value01, w_small.w_value02])
+ return W_TupleObject(w_small.tolist())
def len__SmallTuple(space, w_tuple):
return space.wrap(w_tuple.length())
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit