MCPcopy Index your code
hub / github.com/RustPython/RustPython / close

Method close

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

Source from the content-addressed store, hash-verified

1377 return self.writer.flush()
1378
1379 def close(self):
1380 try:
1381 self.writer.close()
1382 finally:
1383 self.reader.close()
1384
1385 def isatty(self):
1386 return self.reader.isatty() or self.writer.isatty()

Callers

nothing calls this directly

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected