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

Method close

Lib/zipfile/__init__.py:920–924  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

918 return data
919
920 def close(self):
921 if self._file is not None:
922 fileobj = self._file
923 self._file = None
924 self._close(fileobj)
925
926# Provide the tell method for unseekable stream
927class _Tellable:

Callers

nothing calls this directly

Calls 1

_closeMethod · 0.45

Tested by

no test coverage detected