mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
12 lines
344 B
Python
12 lines
344 B
Python
from typing import Optional, List
|
|
|
|
class struct_group(object):
|
|
gr_name = ... # type: Optional[str]
|
|
gr_passwd = ... # type: Optional[str]
|
|
gr_gid = ... # type: int
|
|
gr_mem = ... # type: List[str]
|
|
|
|
def getgrall() -> List[struct_group]: ...
|
|
def getgrgid(id: int) -> struct_group: ...
|
|
def getgrnam(name: str) -> struct_group: ...
|