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

Method extension

src/docx/opc/oxml.py:101–103  ·  view source on GitHub ↗

String held in the ``Extension`` attribute of this `` `` element.

(self)

Source from the content-addressed store, hash-verified

99
100 @property
101 def extension(self):
102 """String held in the ``Extension`` attribute of this ``<Default>`` element."""
103 return self.get("Extension")
104
105 @staticmethod
106 def new(ext: str, content_type: str):

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected