[pypy-commit] pypy space-iterator-improvements: typo

fijal noreply at buildbot.pypy.org
Mon Sep 12 10:37:49 CEST 2011


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: space-iterator-improvements
Changeset: r47210:a2b808a9a3eb
Date: 2011-09-12 10:37 +0200
http://bitbucket.org/pypy/pypy/changeset/a2b808a9a3eb/

Log:	typo

diff --git a/pypy/rpython/lltypesystem/rlist.py b/pypy/rpython/lltypesystem/rlist.py
--- a/pypy/rpython/lltypesystem/rlist.py
+++ b/pypy/rpython/lltypesystem/rlist.py
@@ -269,7 +269,7 @@
     l.items = malloc(LIST.items.TO, lengthhint)
     return l
 ll_newlist_hint = typeMethod(ll_newlist_hint)
-ll_newlist_hint.oopspec = 'newlist(length)'
+ll_newlist_hint.oopspec = 'newlist(lengthhint)'
 
 # should empty lists start with no allocated memory, or with a preallocated
 # minimal number of entries?  XXX compare memory usage versus speed, and


More information about the pypy-commit mailing list