Debian Codegraph @

jedi/third_party/typeshed/stdlib/spwd.pyi

raw symbols SCIP
1 import sys
2 from _typeshed import structseq
3 from typing import Any, Final, final
4
5 if sys.platform != "win32":
6 @final
7 class struct_spwd(structseq[Any], tuple[str, str, int, int, int, int, int, int, int]):
8 if sys.version_info >= (3, 10):
9 __match_args__: Final = (
10 "sp_namp",
11 "sp_pwdp",
12 "sp_lstchg",
13 "sp_min",
14 "sp_max",
15 "sp_warn",
16 "sp_inact",
17 "sp_expire",
18 "sp_flag",
19 )
20
21 @property
22 def sp_namp(self) -> str: ...
23 @property
24 def sp_pwdp(self) -> str: ...
25 @property
26 def sp_lstchg(self) -> int: ...
27 @property
28 def sp_min(self) -> int: ...
29 @property
30 def sp_max(self) -> int: ...
31 @property
32 def sp_warn(self) -> int: ...
33 @property
34 def sp_inact(self) -> int: ...
35 @property
36 def sp_expire(self) -> int: ...
37 @property
38 def sp_flag(self) -> int: ...
39 # Deprecated aliases below.
40 @property
41 def sp_nam(self) -> str: ...
42 @property
43 def sp_pwd(self) -> str: ...
44
45 def getspall() -> list[struct_spwd]: ...
46 def getspnam(arg: str, /) -> struct_spwd: ...