[pypy-svn] pypy fast-forward: typo

amauryfa commits-noreply at bitbucket.org
Fri Jan 14 18:24:48 CET 2011


Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch: fast-forward
Changeset: r40683:21526cd8b6fd
Date: 2011-01-14 12:59 +0100
http://bitbucket.org/pypy/pypy/changeset/21526cd8b6fd/

Log:	typo

diff --git a/lib_pypy/_ctypes/structure.py b/lib_pypy/_ctypes/structure.py
--- a/lib_pypy/_ctypes/structure.py
+++ b/lib_pypy/_ctypes/structure.py
@@ -72,7 +72,7 @@
 
 def _set_shape(tp, rawfields, is_union=False):
     tp._ffistruct = _rawffi.Structure(rawfields, is_union,
-                                      getattr(self, '_pack_', 0))
+                                      getattr(tp, '_pack_', 0))
     tp._ffiargshape = tp._ffishape = (tp._ffistruct, 1)
     tp._fficompositesize = tp._ffistruct.size
 


More information about the Pypy-commit mailing list