Author: Wim Lavrijsen <[email protected]>
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)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit