Add nis stub (#2213)

This commit is contained in:
Yusuke Miyazaki
2018-06-12 03:26:32 +09:00
committed by Guido van Rossum
parent 38fb53eab6
commit 46a59fc9b1

10
stdlib/2and3/nis.pyi Normal file
View File

@@ -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): ...