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_textio.py:504–506 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
502
else
:
503
f()
504
def
close(self):
505
record.append(2)
506
super().close()
507
def
flush(self):
508
record.append(3)
509
super().flush()
Callers
7
close
Method · 0.45
test_basic_io
Method · 0.45
test_telling
Method · 0.45
test_seek_and_tell_with_data
Method · 0.45
test_multibyte_seek_and_tell
Method · 0.45
test_seek_with_encoder_state
Method · 0.45
test_read_non_blocking
Method · 0.45
Calls
2
super
Class · 0.85
append
Method · 0.45
Tested by
no test coverage detected