Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ close
Method
close
Lib/tarfile.py:318–319 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
316
self.fd = os.open(name, mode, 0o666)
317
318
def
close(self):
319
os.close(self.fd)
320
321
def
read(self, size):
322
return
os.read(self.fd, size)
Callers
nothing calls this directly
Calls
1
close
Method · 0.45
Tested by
no test coverage detected