MCPcopy Create free account
hub / github.com/ActiveState/code / __init__

Method __init__

recipes/Python/298721_xml2obj_II/recipe-298721.py:171–175  ·  view source on GitHub ↗
( self )

Source from the content-addressed store, hash-verified

169class xmlHandler(xml.sax.ContentHandler):
170
171 def __init__( self ):
172 xml.sax.ContentHandler.__init__( self )
173 self.iLevel = 0
174 self.listKeys = [ ]
175 self.listDataStack = [ xmlElement( u'root', None, None ) ]
176
177
178 def startElement( self, name, oAttributes ):

Callers

nothing calls this directly

Calls 2

xmlElementClass · 0.85
__init__Method · 0.45

Tested by

no test coverage detected