MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / close

Method close

tools/python-3.11.9-amd64/Lib/http/client.py:424–429  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

422 fp.close()
423
424 def close(self):
425 try:
426 super().close() # set "closed" flag
427 finally:
428 if self.fp:
429 self._close_conn()
430
431 # These implementations are for the benefit of io.BufferedReader.
432

Callers 8

_close_connMethod · 0.45
_tunnelMethod · 0.45
closeMethod · 0.45
getresponseMethod · 0.45
do_GETMethod · 0.45
do_HEADMethod · 0.45
send_headMethod · 0.45
run_cgiMethod · 0.45

Calls 1

_close_connMethod · 0.95

Tested by

no test coverage detected