Add missing struct_spwd fields (#12158)

This commit is contained in:
Sebastian Rittau
2024-06-18 15:59:43 +02:00
committed by GitHub
parent c303b3221e
commit fdce887b94
6 changed files with 5 additions and 20 deletions

View File

@@ -36,6 +36,11 @@ if sys.platform != "win32":
def sp_expire(self) -> int: ...
@property
def sp_flag(self) -> int: ...
# Deprecated aliases below.
@property
def sp_nam(self) -> str: ...
@property
def sp_pwd(self) -> str: ...
def getspall() -> list[struct_spwd]: ...
def getspnam(arg: str, /) -> struct_spwd: ...