In `HTMLParser.__init__`, `tree` is a class: https://github.com/html5lib/html5lib-python/blob/f4646e6ed4eeb9780f67d2083d0c09c8fffbec53/html5lib/html5parser.py#L93-L97 However the examples in the API docs, which also ends up in the website, uses a string https://github.com/html5lib/html5lib-python/blob/f4646e6ed4eeb9780f67d2083d0c09c8fffbec53/html5lib/html5parser.py#L105-L109
Activity