mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-20 08:38:26 +08:00
Move contents of builtins/* to stdlib/*. This simplifies finding stubs.
This commit is contained in:
18
stdlib/2.7/pwd.pyi
Normal file
18
stdlib/2.7/pwd.pyi
Normal file
@@ -0,0 +1,18 @@
|
||||
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: ...
|
||||
|
||||
Reference in New Issue
Block a user