MCPcopy Index your code
hub / github.com/RustPython/RustPython / endtransfer

Method endtransfer

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

Source from the content-addressed store, hash-verified

1844 return (ftpobj, retrlen)
1845
1846 def endtransfer(self):
1847 if not self.busy:
1848 return
1849 self.busy = 0
1850 try:
1851 self.ftp.voidresp()
1852 except ftperrors():
1853 pass
1854
1855 def close(self):
1856 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