예제 #1
0
 def close_w(self, space):
     try:
         W_RawIOBase.close_w(self, space)
     except OperationError:
         if not self.closefd:
             self.fd = -1
             raise
         self._close(space)
         raise
     if not self.closefd:
         self.fd = -1
         return
     self._close(space)
예제 #2
0
 def close_w(self, space):
     try:
         W_RawIOBase.close_w(self, space)
     except OperationError:
         if not self.closefd:
             self.fd = -1
             raise
         self._close(space)
         raise
     if not self.closefd:
         self.fd = -1
         return
     self._close(space)
예제 #3
0
파일: interp_fileio.py 프로젝트: ieure/pypy
 def close_w(self, space):
     if not self.closefd:
         self.fd = -1
         return
     self._close(space)
     W_RawIOBase.close_w(self, space)
예제 #4
0
 def close_w(self, space):
     if not self.closefd:
         self.fd = -1
         return
     self._close(space)
     W_RawIOBase.close_w(self, space)