add grp.pyi

This commit is contained in:
Matthias Kramm
2015-09-21 08:41:37 -07:00
parent 6a9d746ac9
commit 26670ee4b3

11
builtins/2.7/grp.pyi Normal file
View 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: ...