Lines Matching refs:MyElement
2133 class MyElement(ET.Element): class
2136 mye = MyElement('foo')
2138 self.assertIsInstance(mye, MyElement)
2146 class MyElement(ET.Element): class
2148 super(MyElement, self).__init__(tag + '__', attrib, **extra)
2150 mye = MyElement('foo', {'a': 1, 'b': 2}, c=3, d=4)
2156 class MyElement(ET.Element): class
2160 mye = MyElement('joe')
2164 class MyElement(ET.Element): class
2169 sub = MyElement('bar')
2561 class MyElement(ET.Element): class
2563 self._check_element_factory_class(MyElement)
2574 class MyElement(base, ValueError): class
2576 self._check_element_factory_class(MyElement)