`codepoint2name` has moved into `html.entities` in Python 3, but is imported with `as` to make it appear the same in Python 2 and 3.