MCPcopy Create free account
hub / github.com/python/cpython / close

Method close

Lib/test/test_io/test_bufferedio.py:57–59  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

55 else:
56 f()
57 def close(self):
58 record.append(2)
59 super().close()
60 def flush(self):
61 record.append(3)
62 super().flush()

Calls 2

superClass · 0.85
appendMethod · 0.45

Tested by

no test coverage detected