Use lowercase tuple where possible (#6170)

This commit is contained in:
Akuli
2021-10-15 00:18:19 +00:00
committed by GitHub
parent 5f386b0575
commit 994b69ef8f
242 changed files with 1212 additions and 1224 deletions

View File

@@ -45,14 +45,14 @@ class struct_rusage(_Tuple16):
ru_nivcsw: int
def getpagesize() -> int: ...
def getrlimit(__resource: int) -> Tuple[int, int]: ...
def getrlimit(__resource: int) -> tuple[int, int]: ...
def getrusage(__who: int) -> struct_rusage: ...
def setrlimit(__resource: int, __limits: Tuple[int, int]) -> None: ...
def setrlimit(__resource: int, __limits: tuple[int, int]) -> None: ...
if sys.platform == "linux":
@overload
def prlimit(pid: int, resource: int, limits: Tuple[int, int]) -> Tuple[int, int]: ...
def prlimit(pid: int, resource: int, limits: tuple[int, int]) -> tuple[int, int]: ...
@overload
def prlimit(pid: int, resource: int) -> Tuple[int, int]: ...
def prlimit(pid: int, resource: int) -> tuple[int, int]: ...
error = OSError