MCPcopy Create free account
hub / github.com/clips/pattern / handle_comment

Method handle_comment

pattern/web/soup/BeautifulSoup.py:1391–1393  ·  view source on GitHub ↗

Handle comments as Comment objects.

(self, text)

Source from the content-addressed store, hash-verified

1389 self._toStringSubclass(text, ProcessingInstruction)
1390
1391 def handle_comment(self, text):
1392 "Handle comments as Comment objects."
1393 self._toStringSubclass(text, Comment)
1394
1395 def handle_charref(self, ref):
1396 "Handle character references as data."

Callers

nothing calls this directly

Calls 1

_toStringSubclassMethod · 0.95

Tested by

no test coverage detected