mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-21 03:11:16 +08:00
add grp.pyi
This commit is contained in:
11
builtins/2.7/grp.pyi
Normal file
11
builtins/2.7/grp.pyi
Normal file
@@ -0,0 +1,11 @@
|
||||
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: ...
|
||||
Reference in New Issue
Block a user