mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-18 09:55:59 +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_passwd(structseq[Any], Tuple[str, str, int, int, str, str, str]):
|
||||
class struct_passwd(structseq[Any], tuple[str, str, int, int, str, str, str]):
|
||||
@property
|
||||
def pw_name(self) -> str: ...
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user