MCPcopy Index your code
hub / github.com/python/cpython / endtransfer

Method endtransfer

Lib/urllib/request.py:1848–1855  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1846 return (ftpobj, retrlen)
1847
1848 def endtransfer(self):
1849 if not self.busy:
1850 return
1851 self.busy = 0
1852 try:
1853 self.ftp.voidresp()
1854 except ftperrors():
1855 pass
1856
1857 def close(self):
1858 self.keepalive = False

Callers 3

retrfileMethod · 0.95
file_closeMethod · 0.95
real_closeMethod · 0.95

Calls 2

ftperrorsFunction · 0.85
voidrespMethod · 0.80

Tested by

no test coverage detected