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

Method detach

tools/python-3.11.9-amd64/Lib/_pyio.py:783–790  ·  view source on GitHub ↗

Separate the underlying raw stream from the buffer and return it. After the raw stream has been detached, the buffer is in an unusable state.

(self)

Source from the content-addressed store, hash-verified

781 self._unsupported("write")
782
783 def detach(self):
784 """
785 Separate the underlying raw stream from the buffer and return it.
786
787 After the raw stream has been detached, the buffer is in an unusable
788 state.
789 """
790 self._unsupported("detach")
791
792io.BufferedIOBase.register(BufferedIOBase)
793

Callers

nothing calls this directly

Calls 1

_unsupportedMethod · 0.80

Tested by

no test coverage detected