MCPcopy 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_effectFunction · 0.45
readMethod · 0.45
http_error_302Method · 0.45
do_openMethod · 0.45
ftp_openMethod · 0.45
connect_ftpMethod · 0.45
check_cacheMethod · 0.45
clear_cacheMethod · 0.45
retrfileMethod · 0.45
real_closeMethod · 0.45

Calls 1

real_closeMethod · 0.95

Tested by

no test coverage detected