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

Method __init__

lab/cust-elm-classes/gen_oxml_classes.py:21–29  ·  view source on GitHub ↗
(self, tag, classname)

Source from the content-addressed store, hash-verified

19 instances = []
20
21 def __init__(self, tag, classname):
22 self.instances.append(self)
23 self.tag = tag
24 tagparts = tag.split(':')
25 self.nsprefix = tagparts[0]
26 self.tagname = tagparts[1]
27 self.classname = classname
28 self.children = []
29 self.attributes = []
30
31 def __getitem__(self, key):
32 return self.__getattribute__(key)

Callers

nothing calls this directly

Calls 2

splitMethod · 0.80
appendMethod · 0.45

Tested by

no test coverage detected