mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-05 09:27:38 +08:00
Move contents of builtins/* to stdlib/*. This simplifies finding stubs.
This commit is contained in:
11
stdlib/2.7/grp.pyi
Normal file
11
stdlib/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