Author: Brian Kearns <[email protected]>
Branch: 
Changeset: r73407:615fa520e47e
Date: 2014-09-09 20:56 -0400
http://bitbucket.org/pypy/pypy/changeset/615fa520e47e/

Log:    fix translation

diff --git a/rpython/rlib/rfile.py b/rpython/rlib/rfile.py
--- a/rpython/rlib/rfile.py
+++ b/rpython/rlib/rfile.py
@@ -220,6 +220,9 @@
             do_close = self._close2[1]
             do_close(ll_file)       # return value ignored
 
+    def _cleanup_(self):
+        self._ll_file = lltype.nullptr(FILEP.TO)
+
     def close(self):
         """Closes the described file.
 
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to