mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
17 lines
394 B
Python
17 lines
394 B
Python
import sys
|
|
from typing import List, NamedTuple
|
|
|
|
if sys.platform != "win32":
|
|
class struct_spwd(NamedTuple):
|
|
sp_nam: str
|
|
sp_pwd: str
|
|
sp_lstchg: int
|
|
sp_min: int
|
|
sp_max: int
|
|
sp_warn: int
|
|
sp_inact: int
|
|
sp_expire: int
|
|
sp_flag: int
|
|
def getspall() -> List[struct_spwd]: ...
|
|
def getspnam(name: str) -> struct_spwd: ...
|