mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-27 22:31:12 +08:00
Add missing struct_spwd fields (#12158)
This commit is contained in:
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user