Update stub for pwd (#1371)

This commit is contained in:
Yusuke Miyazaki authored and Jelle Zijlstra committed 2017-05-30 21:43:30 -07:00
1 parent be80c36816
commit 40c6927cf0
3 files changed
+13 -35

No files matched your search

-18
View File
@@ -1,18 +0,0 @@
# Stubs for pwd
# NOTE: These are incomplete!
import typing
class struct_passwd:
# TODO use namedtuple
pw_name = ... # type: str
pw_passwd = ... # type: str
pw_uid = 0
pw_gid = 0
pw_gecos = ... # type: str
pw_dir = ... # type: str
pw_shell = ... # type: str
def getpwuid(uid: int) -> struct_passwd: ...
def getpwnam(name: str) -> struct_passwd: ...