Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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_reader
Method · 0.45
close
Method · 0.45
test_read_closed
Method · 0.45
test_flush_error_on_close
Method · 0.45
test_multi_close
Method · 0.45
test_attributes
Method · 0.45
test_io_after_close
Method · 0.45
cleanup_fds
Method · 0.45
Calls
2
super
Class · 0.85
append
Method · 0.45
Tested by
no test coverage detected