Lines Matching defs:close
36 # Does io.IOBase finalizer log the exception if the close() method fails?
279 result.close()
400 ### Flush and close ###
412 def close(self):
413 """Flush and close the IO object.
424 """Destructor. Calls close()."""
436 self.close()
440 # deleted, and then the close() call might fail. Since
444 self.close()
516 """Context management protocol. Calls close()"""
517 self.close()
836 ### Flush and close ###
843 def close(self):
849 self.raw.close()
907 # which calls close()
936 def close(self):
939 super().close()
1328 def close(self):
1341 self.raw.close()
1403 def close(self):
1405 self.writer.close()
1407 self.reader.close()
1514 # Have to close the existing file first.
1517 os.close(self._fd)
1617 os.close(owned_fd)
1626 self.close()
1762 def close(self):
1765 A closed file cannot be used for further I/O operations. close() may be
1771 os.close(self._fd)
1773 super().close()
1809 """True if the file descriptor will be closed by close()."""
2013 # which calls close()
2189 def close(self):
2194 self.buffer.close()
2366 # Fast search for an acceptable start point, close to our