MCPcopy Index your code
hub / github.com/python-pillow/Pillow / __exit__

Method __exit__

src/PIL/ImageFile.py:607–608  ·  view source on GitHub ↗
(self, *args: object)

Source from the content-addressed store, hash-verified

605 return self
606
607 def __exit__(self, *args: object) -> None:
608 self.close()
609
610 def close(self) -> Image.Image:
611 """

Callers

nothing calls this directly

Calls 1

closeMethod · 0.95

Tested by

no test coverage detected