reset Method
Resets the parser.
Syntax
def reset() -> None: ...
Remarks
When called, the parser flushes all its buffers, firing events as necessary, and then initializes itself to its default state.
on_reset must also be used as signal to the parser that the current stream of text has terminated.