MCPcopy Create free account
hub / github.com/aaronsw/html2text / close

Method close

html2text.py:184–190  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

182 self.outtext += s
183
184 def close(self):
185 HTMLParser.HTMLParser.close(self)
186
187 self.pbr()
188 self.o('', 0, 'end')
189
190 return self.outtext
191
192 def handle_charref(self, c):
193 self.o(charref(c))

Callers 1

html2text_fileFunction · 0.80

Calls 2

pbrMethod · 0.95
oMethod · 0.95

Tested by

no test coverage detected