Author: Antonio Cuni <[email protected]>
Branch: fastjson
Changeset: r64777:ced1fbce0894
Date: 2013-06-04 18:03 +0200
http://bitbucket.org/pypy/pypy/changeset/ced1fbce0894/
Log: another rpython fix
diff --git a/pypy/module/_fastjson/interp_decoder.py
b/pypy/module/_fastjson/interp_decoder.py
--- a/pypy/module/_fastjson/interp_decoder.py
+++ b/pypy/module/_fastjson/interp_decoder.py
@@ -1,4 +1,5 @@
from rpython.rlib.rstring import StringBuilder
+from rpython.rlib.objectmodel import specialize
from pypy.interpreter.error import OperationError, operationerrfmt
from pypy.interpreter.gateway import unwrap_spec
from pypy.interpreter import unicodehelper
@@ -43,7 +44,8 @@
self.next()
else:
break
-
+
+ @specialize.arg(1)
def _raise(self, msg, *args):
raise operationerrfmt(self.space.w_ValueError, msg, *args)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit