MCPcopy Create free account
hub / github.com/csev/py4e / commentClass

Method commentClass

code3/bs4/builder/_html5lib.py:92–93  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

90 return Element(tag, self.soup, namespace)
91
92 def commentClass(self, data):
93 return TextNode(Comment(data), self.soup)
94
95 def fragmentClass(self):
96 self.soup = BeautifulSoup("")

Callers

nothing calls this directly

Calls 2

CommentClass · 0.90
TextNodeClass · 0.70

Tested by

no test coverage detected