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

Method _set_xmlattr

tests/unitdata.py:107–109  ·  view source on GitHub ↗
(self, xmlattr_name, value)

Source from the content-addressed store, hash-verified

105 return xml
106
107 def _set_xmlattr(self, xmlattr_name, value):
108 xmlattr_str = ' %s="%s"' % (xmlattr_name, str(value))
109 self._xmlattrs.append(xmlattr_str)
110
111 @property
112 def _start_tag(self):

Callers 2

with_xmlattrMethod · 0.95
with_rIdMethod · 0.80

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected