[pypy-svn] r78149 - pypy/branch/fast-forward/pypy/module/_io

afa at codespeak.net afa at codespeak.net
Thu Oct 21 00:38:44 CEST 2010


Author: afa
Date: Thu Oct 21 00:38:42 2010
New Revision: 78149

Modified:
   pypy/branch/fast-forward/pypy/module/_io/interp_bufferedio.py
Log:
Fix translation


Modified: pypy/branch/fast-forward/pypy/module/_io/interp_bufferedio.py
==============================================================================
--- pypy/branch/fast-forward/pypy/module/_io/interp_bufferedio.py	(original)
+++ pypy/branch/fast-forward/pypy/module/_io/interp_bufferedio.py	Thu Oct 21 00:38:42 2010
@@ -11,7 +11,7 @@
 class W_BufferedIOBase(W_IOBase):
     def __init__(self, space):
         W_IOBase.__init__(self, space)
-        self.buffer = None
+        self.buffer = lltype.nullptr(rffi.CCHARP.TO)
         self.lock = None
 
     def _init(self, space):



More information about the Pypy-commit mailing list