MCPcopy Create free account
hub / github.com/kurtmckee/feedparser / handle_pi

Method handle_pi

feedparser/html.py:271–279  ·  view source on GitHub ↗

:type text: str :rtype: None

(self, text)

Source from the content-addressed store, hash-verified

269 self.pieces.append('<!--%s-->' % text)
270
271 def handle_pi(self, text):
272 """
273 :type text: str
274 :rtype: None
275 """
276
277 # Called for each processing instruction, e.g. <?instruction>
278 # Reconstruct original processing instruction.
279 self.pieces.append('<?%s>' % text)
280
281 def handle_decl(self, text):
282 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected