MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / __exit__

Method __exit__

lib/matplotlib/dviread.py:256–260  ·  view source on GitHub ↗

Context manager exit method, closes the underlying file if it is open.

(self, etype, evalue, etrace)

Source from the content-addressed store, hash-verified

254 return self
255
256 def __exit__(self, etype, evalue, etrace):
257 """
258 Context manager exit method, closes the underlying file if it is open.
259 """
260 self.close()
261
262 def __iter__(self):
263 """

Callers

nothing calls this directly

Calls 1

closeMethod · 0.95

Tested by

no test coverage detected