MCPcopy Index your code
hub / github.com/python-openxml/python-docx / close

Method close

src/docx/opc/phys_pkg.py:85–87  ·  view source on GitHub ↗

Close the zip archive, releasing any resources it is using.

(self)

Source from the content-addressed store, hash-verified

83 return self._zipf.read(pack_uri.membername)
84
85 def close(self):
86 """Close the zip archive, releasing any resources it is using."""
87 self._zipf.close()
88
89 @property
90 def content_types_xml(self):

Callers

nothing calls this directly

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected