MCPcopy Create free account
hub / github.com/scanny/python-pptx / __init__

Method __init__

src/pptx/oxml/xmlchemy.py:184–186  ·  view source on GitHub ↗
(self, attr_name: str, simple_type: type[AttributeType], default: Any = None)

Source from the content-addressed store, hash-verified

182 """
183
184 def __init__(self, attr_name: str, simple_type: type[AttributeType], default: Any = None):
185 super(OptionalAttribute, self).__init__(attr_name, simple_type)
186 self._default = default
187
188 @property
189 def _docstring(self):

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected