Home | History | Annotate | Download | only in python2.7

Lines Matching refs:close

196     def close(self):
197 """Flush and close the mailbox."""
275 tmp_file.close()
354 f.close()
368 f.close()
409 def close(self):
410 """Flush and close the mailbox."""
434 os.close(os.open(maildirfolder_path, os.O_CREAT | os.O_WRONLY,
677 new_file.close()
682 self._file.close()
714 def close(self):
715 """Flush and close the mailbox."""
719 self._file.close() # Sync has been done by self.flush() above.
916 os.close(os.open(os.path.join(self._path, '.mh_sequences'),
939 # Unlock and close so it can be deleted on Windows
967 f.close()
984 os.close(os.open(path, os.O_WRONLY | os.O_TRUNC))
1015 f.close()
1042 f.close()
1087 def close(self):
1088 """Flush and close the mailbox."""
1146 f.close()
1153 os.close(os.open(f.name, os.O_WRONLY | os.O_TRUNC))
1905 def close(self):
1906 """Close the file."""
1908 if hasattr(self._file, 'close'):
1909 self._file.close()
1954 def close(self):
1955 # do *not* close the underlying file object for partial files,
1977 pre_lock.close()
2019 os.close(fd)
2034 """Close file f, ensuring all changes are physically on disk."""
2036 f.close()