massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / stdlib / 2and3 / netrc.pyi
1 from typing import AnyStr, Dict, List, Optional, Tuple, overload\r
2 \r
3 \r
4 class NetrcParseError(Exception):\r
5     filename: Optional[str]\r
6     lineno: Optional[int]\r
7     msg: str\r
8 \r
9 \r
10 # (login, account, password) tuple\r
11 _NetrcTuple = Tuple[str, Optional[str], Optional[str]]\r
12 \r
13 \r
14 class netrc:\r
15     hosts: Dict[str, _NetrcTuple]\r
16     macros: Dict[str, List[str]]\r
17 \r
18     def __init__(self, file: str = ...) -> None: ...\r
19     def authenticators(self, host: str) -> Optional[_NetrcTuple]: ...\r