Update stub for pwd (#1371)

This commit is contained in:
Yusuke Miyazaki
2017-05-31 13:43:30 +09:00
committed by Jelle Zijlstra
parent be80c36816
commit 40c6927cf0
3 changed files with 13 additions and 35 deletions

View File

@@ -1,17 +0,0 @@
from typing import List
class struct_passwd(tuple):
n_fields = ... # type: int
n_sequence_fields = ... # type: int
n_unnamed_fields = ... # type: int
pw_dir = ... # type: str
pw_name = ... # type: str
pw_passwd = ... # type: str
pw_shell = ... # type: str
pw_gecos = ... # type: str
pw_gid = ... # type: int
pw_uid = ... # type: int
def getpwall() -> List[struct_passwd]: ...
def getpwnam(name: str) -> struct_passwd: ...
def getpwuid(uid: int) -> struct_passwd: ...