Author: Carl Friedrich Bolz <cfb...@gmx.de> Branch: list-strategies Changeset: r47498:fdb21a0533f2 Date: 2011-04-12 15:12 +0200 http://bitbucket.org/pypy/pypy/changeset/fdb21a0533f2/
Log: fix nonsense diff --git a/pypy/objspace/std/listobject.py b/pypy/objspace/std/listobject.py --- a/pypy/objspace/std/listobject.py +++ b/pypy/objspace/std/listobject.py @@ -768,7 +768,7 @@ if isinstance(w_iterable, W_ListObject): w_list.extend(w_iterable) elif isinstance(w_iterable, W_TupleObject): - w_list.extend(W_ListObject(space, w_iterable.wrappeditems[:]) + w_list.extend(W_ListObject(space, w_iterable.wrappeditems[:])) else: _init_from_iterable(space, w_list, w_iterable) @@ -783,8 +783,7 @@ if not e.match(space, space.w_StopIteration): raise break # done - #items_w.append(w_item) - w_list.append(w_item) + w_list.append(w_item) def len__List(space, w_list): result = w_list.length() _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit