MCPcopy
hub / github.com/csev/py4e / doctype

Method doctype

code3/bs4/builder/_lxml.py:209–212  ·  view source on GitHub ↗
(self, name, pubid, system)

Source from the content-addressed store, hash-verified

207 self.soup.handle_data(content)
208
209 def doctype(self, name, pubid, system):
210 self.soup.endData()
211 doctype = Doctype.for_name_and_ids(name, pubid, system)
212 self.soup.object_was_parsed(doctype)
213
214 def comment(self, content):
215 "Handle comments as Comment objects."

Callers

nothing calls this directly

Calls 3

endDataMethod · 0.45
for_name_and_idsMethod · 0.45
object_was_parsedMethod · 0.45

Tested by

no test coverage detected