1 from typing import List, NamedTuple 2 3 class struct_spwd(NamedTuple): 4 sp_nam: str 5 sp_pwd: str 6 sp_lstchg: int 7 sp_min: int 8 sp_max: int 9 sp_warn: int 10 sp_inact: int 11 sp_expire: int 12 sp_flag: int 13 14 def getspall() -> List[struct_spwd]: ... 15 def getspnam(name: str) -> struct_spwd: ... 16