[pypy-svn] r11977 - pypy/dist/pypy/interpreter

arigo at codespeak.net arigo at codespeak.net
Thu May 5 20:16:12 CEST 2005


Author: arigo
Date: Thu May  5 20:16:12 2005
New Revision: 11977

Modified:
   pypy/dist/pypy/interpreter/function.py
Log:
Typo!


Modified: pypy/dist/pypy/interpreter/function.py
==============================================================================
--- pypy/dist/pypy/interpreter/function.py	(original)
+++ pypy/dist/pypy/interpreter/function.py	Thu May  5 20:16:12 2005
@@ -85,7 +85,7 @@
                     raise OperationError(space.w_TypeError, space.wrap("non-cell in closure"))
                 closure.append(cell)
         func = space.allocate_instance(Function, w_subtype)
-        Function.__init__(space, code, w_globals, defs_w, closure, name)
+        Function.__init__(func, space, code, w_globals, defs_w, closure, name)
         return space.wrap(func)
 
     def descr_function_get(self, w_obj, w_cls=None):



More information about the Pypy-commit mailing list