mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-10 13:32:26 +08:00
Move contents of builtins/* to stdlib/*. This simplifies finding stubs.
This commit is contained in:
13
stdlib/3/grp.pyi
Normal file
13
stdlib/3/grp.pyi
Normal file
@@ -0,0 +1,13 @@
|
||||
from typing import List
|
||||
|
||||
# TODO group database entry object type
|
||||
|
||||
class struct_group:
|
||||
gr_name = ... # type: str
|
||||
gr_passwd = ... # type: str
|
||||
gr_gid = 0
|
||||
gr_mem = ... # type: List[str]
|
||||
|
||||
def getgrgid(gid: int) -> struct_group: ...
|
||||
def getgrnam(name: str) -> struct_group: ...
|
||||
def getgrall() -> List[struct_group]: ...
|
||||
Reference in New Issue
Block a user