[pypy-svn] r57155 - pypy/branch/garden-call-code/pypy/interpreter

pedronis at codespeak.net pedronis at codespeak.net
Sun Aug 10 01:18:28 CEST 2008


Author: pedronis
Date: Sun Aug 10 01:18:27 2008
New Revision: 57155

Modified:
   pypy/branch/garden-call-code/pypy/interpreter/function.py
Log:
oops



Modified: pypy/branch/garden-call-code/pypy/interpreter/function.py
==============================================================================
--- pypy/branch/garden-call-code/pypy/interpreter/function.py	(original)
+++ pypy/branch/garden-call-code/pypy/interpreter/function.py	Sun Aug 10 01:18:27 2008
@@ -86,7 +86,7 @@
                 return code.fastcall_4(self.space, self, frame.peekvalue(3),
                                        frame.peekvalue(2), frame.peekvalue(1),
                                         frame.peekvalue(0))
-        elif fast_natural_arity == -1 and nargs > 1:
+        elif fast_natural_arity == -1 and nargs >= 1:
             from pypy.interpreter import gateway
             assert isinstance(code, gateway.BuiltinCodePassThroughArguments1)
             w_obj = frame.peekvalue(nargs-1)



More information about the Pypy-commit mailing list