[pypy-commit] pypy default: grumble, nonsense

cfbolz noreply at buildbot.pypy.org
Fri Jul 1 16:46:40 CEST 2011


Author: Carl Friedrich Bolz <cfbolz at gmx.de>
Branch: 
Changeset: r45234:582d4749d05b
Date: 2011-07-01 16:53 +0200
http://bitbucket.org/pypy/pypy/changeset/582d4749d05b/

Log:	grumble, nonsense

diff --git a/pypy/rlib/jit.py b/pypy/rlib/jit.py
--- a/pypy/rlib/jit.py
+++ b/pypy/rlib/jit.py
@@ -21,10 +21,10 @@
     func._elidable_function_ = True
     return func
 
-def purefunction(*args, **args):
+def purefunction(*args, **kwargs):
     import warnings
     warnings.warn("purefunction is deprecated, use elidable instead", DeprecationWarning)
-    return elidable(*args, **args)
+    return elidable(*args, **kwargs)
 
 def hint(x, **kwds):
     """ Hint for the JIT
@@ -90,10 +90,10 @@
         return result
     return decorator
 
-def purefunction_promote(*args, **args):
+def purefunction_promote(*args, **kwargs):
     import warnings
     warnings.warn("purefunction_promote is deprecated, use elidable_promote instead", DeprecationWarning)
-    return elidable_promote(*args, **args)
+    return elidable_promote(*args, **kwargs)
 
 
 def oopspec(spec):


More information about the pypy-commit mailing list