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

Method file_close

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

Source from the content-addressed store, hash-verified

1858 self.real_close()
1859
1860 def file_close(self):
1861 self.endtransfer()
1862 self.refcount -= 1
1863 if self.refcount <= 0 and not self.keepalive:
1864 self.real_close()
1865
1866 def real_close(self):
1867 self.endtransfer()

Callers

nothing calls this directly

Calls 2

endtransferMethod · 0.95
real_closeMethod · 0.95

Tested by

no test coverage detected