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

Method install

Lib/xml/dom/expatbuilder.py:722–727  ·  view source on GitHub ↗

Insert the namespace-handlers onto the parser.

(self, parser)

Source from the content-addressed store, hash-verified

720 return parser
721
722 def install(self, parser):
723 """Insert the namespace-handlers onto the parser."""
724 ExpatBuilder.install(self, parser)
725 if self._options.namespace_declarations:
726 parser.StartNamespaceDeclHandler = (
727 self.start_namespace_decl_handler)
728
729 def start_namespace_decl_handler(self, prefix, uri):
730 """Push this namespace declaration on our storage."""

Callers 3

setUpMethod · 0.45
end_element_handlerMethod · 0.45

Calls

no outgoing calls

Tested by 2

setUpMethod · 0.36