fix bugs in builtins/2.7/*.pyi

This commit is contained in:
Matthias Kramm
2015-10-01 08:02:44 -07:00
parent 3f713101a5
commit a2f5703041
22 changed files with 77 additions and 58 deletions
+7 -4
View File
@@ -1,8 +1,6 @@
def getpwall() -> list<struct_passwd>
def getpwnam(name:str) -> struct_passwd
def getpwuid(uid:int) -> struct_passwd
from typing import List
class struct_passwd(tuple): ...
class struct_passwd(tuple):
n_fields = ... # type: int
n_sequence_fields = ... # type: int
n_unnamed_fields = ... # type: int
@@ -13,3 +11,8 @@ class struct_passwd(tuple): ...
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: ...