mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-02 09:33:25 +08:00
Re-organize directory structure (#4971)
See discussion in #2491 Co-authored-by: Ivan Levkivskyi <ilevkivskyi@dropbox.com>
This commit is contained in:
14
stdlib/pwd.pyi
Normal file
14
stdlib/pwd.pyi
Normal file
@@ -0,0 +1,14 @@
|
||||
from typing import List, Tuple
|
||||
|
||||
class struct_passwd(Tuple[str, str, int, int, str, str, str]):
|
||||
pw_name: str
|
||||
pw_passwd: str
|
||||
pw_uid: int
|
||||
pw_gid: int
|
||||
pw_gecos: str
|
||||
pw_dir: str
|
||||
pw_shell: str
|
||||
|
||||
def getpwall() -> List[struct_passwd]: ...
|
||||
def getpwuid(uid: int) -> struct_passwd: ...
|
||||
def getpwnam(name: str) -> struct_passwd: ...
|
||||
Reference in New Issue
Block a user