Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ close
Method
close
Lib/urllib/request.py:1857–1860 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
1855
pass
1856
1857
def
close(self):
1858
self.keepalive = False
1859
if
self.refcount <= 0:
1860
self.real_close()
1861
1862
def
file_close(self):
1863
self.endtransfer()
Callers
12
__init__
Method · 0.95
_exit_side_effect
Function · 0.45
_tearDownAsyncioRunner
Method · 0.45
read
Method · 0.45
http_error_302
Method · 0.45
do_open
Method · 0.45
ftp_open
Method · 0.45
connect_ftp
Method · 0.45
check_cache
Method · 0.45
clear_cache
Method · 0.45
retrfile
Method · 0.45
real_close
Method · 0.45
Calls
1
real_close
Method · 0.95
Tested by
no test coverage detected