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

Method nspfx

tests/unitutil/cxml.py:127–131  ·  view source on GitHub ↗
(name, is_element=False)

Source from the content-addressed store, hash-verified

125 """
126
127 def nspfx(name, is_element=False):
128 idx = name.find(":")
129 if idx == -1:
130 return "" if is_element else None
131 return name[:idx]
132
133 nspfxs = [nspfx(self._tagname, True)]
134 for name, val in self._attrs:

Callers

nothing calls this directly

Calls 1

findMethod · 0.80

Tested by

no test coverage detected