MCPcopy Index your code
hub / github.com/python/cpython / close

Method close

Lib/test/test_io/test_general.py:428–430  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

426 else:
427 f()
428 def close(self):
429 record.append(self.on_close)
430 super().close()
431 def flush(self):
432 record.append(self.on_flush)
433 super().flush()

Callers 8

pipe_readerMethod · 0.45
closeMethod · 0.45
test_read_closedMethod · 0.45
test_multi_closeMethod · 0.45
test_attributesMethod · 0.45
test_io_after_closeMethod · 0.45
cleanup_fdsMethod · 0.45

Calls 2

superClass · 0.85
appendMethod · 0.45

Tested by

no test coverage detected