mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-20 02:41:16 +08:00
Use PEP 570 syntax in stdlib (#11250)
This commit is contained in:
@@ -24,5 +24,5 @@ if sys.platform != "win32":
|
||||
def pw_shell(self) -> str: ...
|
||||
|
||||
def getpwall() -> list[struct_passwd]: ...
|
||||
def getpwuid(__uid: int) -> struct_passwd: ...
|
||||
def getpwnam(__name: str) -> struct_passwd: ...
|
||||
def getpwuid(uid: int, /) -> struct_passwd: ...
|
||||
def getpwnam(name: str, /) -> struct_passwd: ...
|
||||
|
||||
Reference in New Issue
Block a user