diff --git a/stdlib/2and3/nis.pyi b/stdlib/2and3/nis.pyi new file mode 100644 index 000000000..87223caf2 --- /dev/null +++ b/stdlib/2and3/nis.pyi @@ -0,0 +1,10 @@ +import sys +from typing import Dict, List + +if sys.platform != 'win32': + def cat(map: str, domain: str = ...) -> Dict[str, str]: ... + def get_default_domain() -> str: ... + def maps(domain: str = ...) -> List[str]: ... + def match(key: str, map: str, domain: str = ...) -> str: ... + + class error(Exception): ...