MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / close

Method close

tools/python-3.11.9-amd64/Lib/_pyio.py:936–939  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

934 return memoryview(self._buffer)
935
936 def close(self):
937 if self._buffer is not None:
938 self._buffer.clear()
939 super().close()
940
941 def read(self, size=-1):
942 if self.closed:

Callers

nothing calls this directly

Calls 2

clearMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected