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

Method close

Lib/http/client.py:438–443  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

436 fp.close()
437
438 def close(self):
439 try:
440 super().close() # set "closed" flag
441 finally:
442 if self.fp:
443 self._close_conn()
444
445 # These implementations are for the benefit of io.BufferedReader.
446

Calls 2

_close_connMethod · 0.95
superClass · 0.85