massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / stdlib / 3 / urllib / error.pyi
1 from typing import Dict, Union\r
2 from urllib.response import addinfourl\r
3 \r
4 # Stubs for urllib.error\r
5 \r
6 class URLError(IOError):\r
7     reason = ...  # type: Union[str, BaseException]\r
8 class HTTPError(URLError, addinfourl):\r
9     code = ...  # type: int\r
10     headers = ...  # type: Dict[str, str]\r
11 class ContentTooShortError(URLError): ...\r