[pypy-commit] pypy default: fix error message

pjenvey pypy.commits at gmail.com
Mon May 2 00:47:10 EDT 2016


Author: Philip Jenvey <pjenvey at underboss.org>
Branch: 
Changeset: r84113:ad27d9cf6f2d
Date: 2016-05-01 21:42 -0700
http://bitbucket.org/pypy/pypy/changeset/ad27d9cf6f2d/

Log:	fix error message

diff --git a/pypy/module/cppyy/interp_cppyy.py b/pypy/module/cppyy/interp_cppyy.py
--- a/pypy/module/cppyy/interp_cppyy.py
+++ b/pypy/module/cppyy/interp_cppyy.py
@@ -436,7 +436,7 @@
             s = capi.c_resolve_name(self.space, s)
             if s != self.templ_args[i]:
                 raise OperationError(self.space.w_TypeError, self.space.wrap(
-                    "non-matching template (got %s where %s expected" % (s, self.templ_args[i])))
+                    "non-matching template (got %s where %s expected)" % (s, self.templ_args[i])))
         return W_CPPBoundMethod(cppthis, self)
 
     def bound_call(self, cppthis, args_w):


More information about the pypy-commit mailing list