[pypy-svn] r69303 - pypy/trunk/pypy/rpython/lltypesystem

cfbolz at codespeak.net cfbolz at codespeak.net
Sun Nov 15 13:45:17 CET 2009


Author: cfbolz
Date: Sun Nov 15 13:45:16 2009
New Revision: 69303

Modified:
   pypy/trunk/pypy/rpython/lltypesystem/rlist.py
Log:
kill a non-used variable


Modified: pypy/trunk/pypy/rpython/lltypesystem/rlist.py
==============================================================================
--- pypy/trunk/pypy/rpython/lltypesystem/rlist.py	(original)
+++ pypy/trunk/pypy/rpython/lltypesystem/rlist.py	Sun Nov 15 13:45:16 2009
@@ -185,8 +185,6 @@
     l.length to newsize.  Note that l.items may change, and even if
     newsize is less than l.length on entry.
     """
-    allocated = len(l.items)
-
     # This over-allocates proportional to the list size, making room
     # for additional growth.  The over-allocation is mild, but is
     # enough to give linear-time amortized behavior over a long



More information about the Pypy-commit mailing list