[pypy-svn] r50739 - pypy/dist/pypy/lib/_ctypes

fijal at codespeak.net fijal at codespeak.net
Thu Jan 17 23:12:57 CET 2008


Author: fijal
Date: Thu Jan 17 23:12:56 2008
New Revision: 50739

Modified:
   pypy/dist/pypy/lib/_ctypes/structure.py
Log:
"typo"


Modified: pypy/dist/pypy/lib/_ctypes/structure.py
==============================================================================
--- pypy/dist/pypy/lib/_ctypes/structure.py	(original)
+++ pypy/dist/pypy/lib/_ctypes/structure.py	Thu Jan 17 23:12:56 2008
@@ -93,7 +93,7 @@
     def __getattr__(self, name):
         if hasattr(self, '_fieldtypes') and name in self._fieldtypes:
             return self._fieldtypes[name]
-        return _CDataMeta.__getattr__(self, name)
+        return _CDataMeta.__getattribute__(self, name)
         #return Field(name, 
 
     def from_address(self, address):



More information about the Pypy-commit mailing list