[pypy-svn] r74854 - pypy/trunk/pypy/module/cpyext

afa at codespeak.net afa at codespeak.net
Fri May 28 16:17:22 CEST 2010


Author: afa
Date: Fri May 28 16:17:20 2010
New Revision: 74854

Modified:
   pypy/trunk/pypy/module/cpyext/pyobject.py
Log:
Another translation fix


Modified: pypy/trunk/pypy/module/cpyext/pyobject.py
==============================================================================
--- pypy/trunk/pypy/module/cpyext/pyobject.py	(original)
+++ pypy/trunk/pypy/module/cpyext/pyobject.py	Fri May 28 16:17:20 2010
@@ -174,7 +174,7 @@
             assert py_obj.c_ob_refcnt == 0
             return py_obj
         else:
-            lltype.nullptr(PyObject.TO)
+            return lltype.nullptr(PyObject.TO)
 
     def set_lifeline(self, w_obj, py_obj):
         self.lifeline_dict.set(w_obj,



More information about the Pypy-commit mailing list