MCPcopy
hub / github.com/django/django / __exit__

Method __exit__

django/core/files/base.py:108–109  ·  view source on GitHub ↗
(self, exc_type, exc_value, tb)

Source from the content-addressed store, hash-verified

106 return self
107
108 def __exit__(self, exc_type, exc_value, tb):
109 self.close()
110
111 def open(self, mode=None, *args, **kwargs):
112 if not self.closed:

Callers

nothing calls this directly

Calls 1

closeMethod · 0.95

Tested by

no test coverage detected