[pypy-svn] r50346 - pypy/branch/applevel-ctypes/pypy/module/_ffi

fijal at codespeak.net fijal at codespeak.net
Sat Jan 5 11:22:09 CET 2008


Author: fijal
Date: Sat Jan  5 11:22:09 2008
New Revision: 50346

Modified:
   pypy/branch/applevel-ctypes/pypy/module/_ffi/structure.py
Log:
be explicit


Modified: pypy/branch/applevel-ctypes/pypy/module/_ffi/structure.py
==============================================================================
--- pypy/branch/applevel-ctypes/pypy/module/_ffi/structure.py	(original)
+++ pypy/branch/applevel-ctypes/pypy/module/_ffi/structure.py	Sat Jan  5 11:22:09 2008
@@ -80,7 +80,7 @@
         return space.wrap(W_StructureInstance(space, self, None, kwargs_w))
 
 def descr_new_structure(space, w_type, w_fields):
-    return W_Structure(space, w_fields)
+    return space.wrap(W_Structure(space, w_fields))
 
 W_Structure.typedef = TypeDef(
     'Structure',



More information about the Pypy-commit mailing list