MCPcopy Index your code
hub / github.com/python/cpython / close

Method close

Lib/_pyio.py:1398–1402  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1396 return self.writer.flush()
1397
1398 def close(self):
1399 try:
1400 self.writer.close()
1401 finally:
1402 self.reader.close()
1403
1404 def isatty(self):
1405 return self.reader.isatty() or self.writer.isatty()

Callers

nothing calls this directly

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected