Abhilash Raj email@example.com added the comment:
The function of this imaginary method is described below:
# The magic_html_parser has to rewrite the href="cid:...." attributes to # point to the filenames in partfiles. It also has to do a safety-sanitize # of the html. It could be written using html.parser.
This implementation is going to be non-trivial (more than just a wrapper around html.parser) I think, and I would like to not make the example related to email even longer due to that implementation.
And I agree with Terry, the comment should make it pretty clear, there aren't any dependencies in the examples outside of standard library.
Any other synonym that we'd choose could end up being a package in pypi someday :)