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

afa at codespeak.net afa at codespeak.net
Thu May 6 02:07:03 CEST 2010


Author: afa
Date: Thu May  6 02:07:02 2010
New Revision: 74398

Modified:
   pypy/trunk/pypy/module/cpyext/api.py
Log:
Grr


Modified: pypy/trunk/pypy/module/cpyext/api.py
==============================================================================
--- pypy/trunk/pypy/module/cpyext/api.py	(original)
+++ pypy/trunk/pypy/module/cpyext/api.py	Thu May  6 02:07:02 2010
@@ -453,7 +453,7 @@
                 elif isinstance(result, BorrowedPair):
                     retval = result.get_ref(space)
                 elif not rffi._isllptr(result):
-                    assert isinstance(retval, W_Root)
+                    assert isinstance(result, W_Root)
                     retval = make_ref(space, result)
                 else:
                     retval = result



More information about the Pypy-commit mailing list