MCPcopy
hub / github.com/django/django / close

Method close

tests/files/tests.py:336–338  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

334 return getattr(self.f, name)
335
336 def close(self):
337 self._closed.append(True)
338 self.f.close()
339
340 def catching_open(*args):
341 return FileWrapper(open(*args))

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected