[pypy-commit] pypy rmod-radd-slots: fix translation

mattip pypy.commits at gmail.com
Thu Sep 29 23:52:14 EDT 2016


Author: Matti Picus <matti.picus at gmail.com>
Branch: rmod-radd-slots
Changeset: r87458:248a73d17a0e
Date: 2016-09-30 06:51 +0300
http://bitbucket.org/pypy/pypy/changeset/248a73d17a0e/

Log:	fix translation

diff --git a/pypy/module/cpyext/slotdefs.py b/pypy/module/cpyext/slotdefs.py
--- a/pypy/module/cpyext/slotdefs.py
+++ b/pypy/module/cpyext/slotdefs.py
@@ -217,7 +217,6 @@
     res = generic_cpy_call(space, func_target, w_self, i, j, w_y)
     if rffi.cast(lltype.Signed, res) == -1:
         space.fromcache(State).check_and_raise_exception(always=True)
-    return res
 
 def wrap_lenfunc(space, w_self, w_args, func):
     func_len = rffi.cast(lenfunc, func)


More information about the pypy-commit mailing list