[pypy-svn] r69433 - pypy/branch/unpackiterable-improvements/pypy/objspace/std
fijal at codespeak.net
fijal at codespeak.net
Thu Nov 19 12:16:33 CET 2009
Author: fijal
Date: Thu Nov 19 12:16:32 2009
New Revision: 69433
Modified:
pypy/branch/unpackiterable-improvements/pypy/objspace/std/setobject.py
Log:
should be list view here, spotted by pedronis
Modified: pypy/branch/unpackiterable-improvements/pypy/objspace/std/setobject.py
==============================================================================
--- pypy/branch/unpackiterable-improvements/pypy/objspace/std/setobject.py (original)
+++ pypy/branch/unpackiterable-improvements/pypy/objspace/std/setobject.py Thu Nov 19 12:16:32 2009
@@ -111,7 +111,7 @@
def make_setdata_from_w_iterable(space, w_iterable=None):
data = r_dict(space.eq_w, space.hash_w)
if w_iterable is not None:
- for w_item in space.unpackiterable(w_iterable):
+ for w_item in space.listview(w_iterable):
data[w_item] = None
return data
More information about the Pypy-commit
mailing list