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

Method __init__

lab/parse_xsd/parse_xsd.py:57–60  ·  view source on GitHub ↗
(self, xsd_tree, nsprefix)

Source from the content-addressed store, hash-verified

55 Wrapper for ElementTree of a .xsd file
56 """
57 def __init__(self, xsd_tree, nsprefix):
58 super(XsdTree, self).__init__()
59 self._tree = xsd_tree
60 self.nsprefix = nsprefix
61
62 def xpath(self, xpath):
63 return self._tree.xpath(xpath, namespaces=nsmap)

Callers 4

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected