MCPcopy
hub / github.com/Textualize/rich / close

Method close

rich/progress.py:265–268  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

263 return lines
264
265 def close(self) -> None:
266 if self.close_handle:
267 self.handle.close()
268 self._closed = True
269
270 def seek(self, offset: int, whence: int = 0) -> int:
271 pos = self.handle.seek(offset, whence)

Callers 3

__exit__Method · 0.95
test_brokenpipeerrorFunction · 0.45
stopMethod · 0.45

Calls

no outgoing calls

Tested by 1

test_brokenpipeerrorFunction · 0.36