[pypy-commit] pypy default: argh, typo. No generator expression intended.

arigo noreply at buildbot.pypy.org
Tue Dec 23 12:23:02 CET 2014


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r75076:6ff7cdf9e09b
Date: 2014-12-23 11:46 +0100
http://bitbucket.org/pypy/pypy/changeset/6ff7cdf9e09b/

Log:	argh, typo. No generator expression intended.

diff --git a/pypy/module/gc/referents.py b/pypy/module/gc/referents.py
--- a/pypy/module/gc/referents.py
+++ b/pypy/module/gc/referents.py
@@ -231,5 +231,5 @@
 
 def get_typeids_list(space):
     l = rgc.get_typeids_list()
-    list_w = [space.wrap(l[i] for i in range(len(l)))]
+    list_w = [space.wrap(l[i]) for i in range(len(l))]
     return space.newlist(list_w)


More information about the pypy-commit mailing list