mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-04 00:43:45 +08:00
Big diff: use lower-case list and dict (#5888)
This commit is contained in:
1 parent
11f54c3407
commit
ce11072dbe
325 files changed
+2196
-2334
No files matched your search
+2
-2
@@ -1,4 +1,4 @@
|
||||
from typing import List, NamedTuple
|
||||
from typing import NamedTuple
|
||||
|
||||
class struct_spwd(NamedTuple):
|
||||
sp_namp: str
|
||||
@@ -11,5 +11,5 @@ class struct_spwd(NamedTuple):
|
||||
sp_expire: int
|
||||
sp_flag: int
|
||||
|
||||
def getspall() -> List[struct_spwd]: ...
|
||||
def getspall() -> list[struct_spwd]: ...
|
||||
def getspnam(__arg: str) -> struct_spwd: ...
|
||||
Reference in new issue
Block a user