mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
Big diff: use lower-case list and dict (#5888)
This commit is contained in:
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user