[pypy-svn] r69612 - pypy/branch/stringbuilder/pypy/interpreter

fijal at codespeak.net fijal at codespeak.net
Tue Nov 24 19:15:06 CET 2009


Author: fijal
Date: Tue Nov 24 19:15:05 2009
New Revision: 69612

Modified:
   pypy/branch/stringbuilder/pypy/interpreter/baseobjspace.py
Log:
typo, thanks amaury :)


Modified: pypy/branch/stringbuilder/pypy/interpreter/baseobjspace.py
==============================================================================
--- pypy/branch/stringbuilder/pypy/interpreter/baseobjspace.py	(original)
+++ pypy/branch/stringbuilder/pypy/interpreter/baseobjspace.py	Tue Nov 24 19:15:05 2009
@@ -668,11 +668,11 @@
                                    (i, plural))
         return items
 
-    def fixedview(self, w_iterable, expected_lenght=-1):
+    def fixedview(self, w_iterable, expected_length=-1):
         """ A fixed list view of w_iterable. Don't modify the result
         """
         return make_sure_not_resized(self.unpackiterable(w_iterable,
-                                                         expected_lenght)[:])
+                                                         expected_length)[:])
 
     def listview(self, w_iterable):
         """ A non-fixed view of w_iterable. Don't modify the result



More information about the Pypy-commit mailing list