or if current_version is greater than (3,0), but smaller than (3,2,3), otherwise set use_workaround to boolean False. substitute HTMLParseError from the module _html_parser for HTMLParseError.
HTMLParseError = _html_parser . HTMLParseError