diff --git a/stdlib/2.7/HTMLParser.pyi b/stdlib/2.7/HTMLParser.pyi
index ae6c3099a..c6b8a96d9 100644
--- a/stdlib/2.7/HTMLParser.pyi
+++ b/stdlib/2.7/HTMLParser.pyi
@@ -2,7 +2,7 @@ from typing import List, Tuple, AnyStr
from markupbase import ParserBase
class HTMLParser(ParserBase):
- def __init__(self, *args, convert_charrefs: bool) -> None: ...
+ def __init__(self) -> None: ...
def feed(self, feed: AnyStr) -> None: ...
def close(self) -> None: ...
def reset(self) -> None: ...
@@ -25,4 +25,7 @@ class HTMLParser(ParserBase):
def unescape(self, s: AnyStr) -> AnyStr: ...
-class HTMLParseError(Exception): ...
+class HTMLParseError(Exception):
+ msg = ... # type: str
+ lineno = ... # type: int
+ offset = ... # type: int
\ No newline at end of file