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

Method close

Lib/tempfile.py:542–546  ·  view source on GitHub ↗

Close the temporary file, possibly deleting it.

(self)

Source from the content-addressed store, hash-verified

540 return result
541
542 def close(self):
543 """
544 Close the temporary file, possibly deleting it.
545 """
546 self._closer.close()
547
548 # iter() doesn't use __getattr__ to find the __iter__ method
549 def __iter__(self):

Callers

nothing calls this directly

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected