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

Method detach

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

Source from the content-addressed store, hash-verified

2443 return self.buffer.truncate(pos)
2444
2445 def detach(self):
2446 if self.buffer is None:
2447 raise ValueError("buffer is already detached")
2448 self.flush()
2449 buffer = self._buffer
2450 self._buffer = None
2451 return buffer
2452
2453 def seek(self, cookie, whence=0):
2454 def _reset_encoder(position):

Callers 3

parseMethod · 0.95
toprettyxmlMethod · 0.95

Calls 1

flushMethod · 0.95