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

@@ -1,6 +1,6 @@
import socket
from _typeshed import Self
from typing import Any, Callable, Match, Pattern, Sequence, Tuple
from typing import Any, Callable, Match, Pattern, Sequence
DEBUGLEVEL: int
TELNET_PORT: int
@@ -109,6 +109,6 @@ class Telnet:
def listener(self) -> None: ...
def expect(
self, list: Sequence[Pattern[bytes] | bytes], timeout: float | None = ...
) -> Tuple[int, Match[bytes] | None, bytes]: ...
) -> tuple[int, Match[bytes] | None, bytes]: ...
def __enter__(self: Self) -> Self: ...
def __exit__(self, type: Any, value: Any, traceback: Any) -> None: ...