Big diff: use lower-case list and dict (#5888)

This commit is contained in:
Akuli
2021-08-08 19:26:35 +03:00
committed by GitHub
parent 11f54c3407
commit ce11072dbe
325 changed files with 2196 additions and 2334 deletions

View File

@@ -1,4 +1,4 @@
from typing import ClassVar, List, Tuple
from typing import ClassVar, Tuple
class struct_passwd(Tuple[str, str, int, int, str, str, str]):
pw_name: str
@@ -13,6 +13,6 @@ class struct_passwd(Tuple[str, str, int, int, str, str, str]):
n_sequence_fields: ClassVar[int]
n_unnamed_fields: ClassVar[int]
def getpwall() -> List[struct_passwd]: ...
def getpwall() -> list[struct_passwd]: ...
def getpwuid(__uid: int) -> struct_passwd: ...
def getpwnam(__name: str) -> struct_passwd: ...