mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
Use PEP 585 syntax wherever possible (#6717)
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
from _typeshed import structseq
|
||||
from typing import Any, Tuple
|
||||
from typing import Any
|
||||
from typing_extensions import final
|
||||
|
||||
@final
|
||||
class struct_spwd(structseq[Any], Tuple[str, str, int, int, int, int, int, int, int]):
|
||||
class struct_spwd(structseq[Any], tuple[str, str, int, int, int, int, int, int, int]):
|
||||
@property
|
||||
def sp_namp(self) -> str: ...
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user