mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Add nis stub (#2213)
This commit is contained in:
committed by
Guido van Rossum
parent
38fb53eab6
commit
46a59fc9b1
10
stdlib/2and3/nis.pyi
Normal file
10
stdlib/2and3/nis.pyi
Normal 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): ...
|
||||
Reference in New Issue
Block a user