mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 20:24:30 +08:00
15 lines
350 B
Python
15 lines
350 B
Python
from typing import List, Tuple
|
|
|
|
class struct_passwd(Tuple[str, str, int, int, str, str, str]):
|
|
pw_name: str
|
|
pw_passwd: str
|
|
pw_uid: int
|
|
pw_gid: int
|
|
pw_gecos: str
|
|
pw_dir: str
|
|
pw_shell: str
|
|
|
|
def getpwall() -> List[struct_passwd]: ...
|
|
def getpwuid(uid: int) -> struct_passwd: ...
|
|
def getpwnam(name: str) -> struct_passwd: ...
|