--- /dev/null
+from typing import Dict, Union\r
+from urllib.response import addinfourl\r
+\r
+# Stubs for urllib.error\r
+\r
+class URLError(IOError):\r
+ reason = ... # type: Union[str, BaseException]\r
+class HTTPError(URLError, addinfourl):\r
+ code = ... # type: int\r
+ headers = ... # type: Dict[str, str]\r
+class ContentTooShortError(URLError): ...\r