MCPcopy
hub / github.com/pallets/click / close

Method close

src/click/testing.py:184–190  ·  view source on GitHub ↗

The buffer this object contains belongs to some other object, so prevent the default ``__del__`` implementation from closing that buffer. .. versionadded:: 8.3.2

(self)

Source from the content-addressed store, hash-verified

182 self._original_fd = -1
183
184 def close(self) -> None:
185 """The buffer this object contains belongs to some other object,
186 so prevent the default ``__del__`` implementation from closing
187 that buffer.
188
189 .. versionadded:: 8.3.2
190 """
191
192 def fileno(self) -> int:
193 """Return the file descriptor of the saved original stream when

Callers 1

stopMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected