Proposal: Add new method to `HTMLParser`: `flush(self) -> str: ...`
I’d like to propose adding a method named flushto HTMLParserwhich flushes any buffered unparsed data so that all complete elements are processed and then returns the remaining unprocessed data, a str, to the caller. Before closing an HTMLParserI…