MCPcopy Index your code
hub / github.com/python/cpython / __init__

Method __init__

Lib/xml/dom/expatbuilder.py:137–149  ·  view source on GitHub ↗
(self, options=None)

Source from the content-addressed store, hash-verified

135 instance."""
136
137 def __init__(self, options=None):
138 if options is None:
139 options = xmlbuilder.Options()
140 self._options = options
141 if self._options.filter is not None:
142 self._filter = FilterVisibilityController(self._options.filter)
143 else:
144 self._filter = None
145 # This *really* doesn't do anything in this case, so
146 # override it with something fast & minimal.
147 self._finish_start_element = id
148 self._parser = None
149 self.reset()
150
151 def createParser(self):
152 """Create a new parser object."""

Callers

nothing calls this directly

Calls 2

resetMethod · 0.95

Tested by

no test coverage detected