Files
typeshed/stdlib/grp.pyi
2021-12-17 13:42:09 -08:00

19 lines
537 B
Python

from _typeshed import structseq
from typing import Any, List, Optional, Tuple
from typing_extensions import final
@final
class struct_group(structseq[Any], Tuple[str, Optional[str], int, List[str]]):
@property
def gr_name(self) -> str: ...
@property
def gr_passwd(self) -> str | None: ...
@property
def gr_gid(self) -> int: ...
@property
def gr_mem(self) -> list[str]: ...
def getgrall() -> list[struct_group]: ...
def getgrgid(id: int) -> struct_group: ...
def getgrnam(name: str) -> struct_group: ...