Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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()
Callers
11
test_close_error_on_close
Method · 0.45
test_nonnormalized_close_error_on_close
Method · 0.45
test_multi_close
Method · 0.45
test_buffer_freeing
Method · 0.45
test_read_on_closed
Method · 0.45
test_threads
Method · 0.45
test_close_and_closed
Method · 0.45
test_reader_close_error_on_close
Method · 0.45
test_writer_close_error_on_close
Method · 0.45
test_reader_writer_close_error_on_close
Method · 0.45
try_one
Method · 0.45
Calls
2
super
Class · 0.85
append
Method · 0.45
Tested by
no test coverage detected