1 from typing import List, Tuple 2 3 class struct_passwd(Tuple[str, str, int, int, str, str, str]): 4 pw_name: str 5 pw_passwd: str 6 pw_uid: int 7 pw_gid: int 8 pw_gecos: str 9 pw_dir: str 10 pw_shell: str 11 12 def getpwall() -> List[struct_passwd]: ... 13 def getpwuid(uid: int) -> struct_passwd: ... 14 def getpwnam(name: str) -> struct_passwd: ... 15