Files
typeshed/stdlib/@python2/pwd.pyi
2022-01-01 13:26:20 +01:00

16 lines
436 B
Python

import sys
from typing import List, Tuple
if sys.platform != "win32":
class struct_passwd(Tuple[str, str, int, int, str, str, str]):
pw_name: str
pw_passwd: str
pw_uid: int
pw_gid: int
pw_gecos: str
pw_dir: str
pw_shell: str
def getpwall() -> List[struct_passwd]: ...
def getpwuid(__uid: int) -> struct_passwd: ...
def getpwnam(__name: str) -> struct_passwd: ...