[pypy-commit] pypy cppyy-packaging: fix translator error
wlav
pypy.commits at gmail.com
Wed Oct 11 19:49:00 EDT 2017
Author: Wim Lavrijsen <WLavrijsen at lbl.gov>
Branch: cppyy-packaging
Changeset: r92723:e98bb35e4396
Date: 2017-10-11 12:53 -0700
http://bitbucket.org/pypy/pypy/changeset/e98bb35e4396/
Log: fix translator error
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
@@ -104,7 +104,7 @@
@unwrap_spec(final_scoped_name='text')
def is_template(space, final_scoped_name):
- return space.wrap(capi.c_is_template(space, final_scoped_name))
+ return space.newbool(capi.c_is_template(space, final_scoped_name))
def std_string_name(space):
return space.newtext(capi.std_string_name)
More information about the pypy-commit
mailing list