mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 21:46:42 +08:00
Use lowercase tuple where possible (#6170)
This commit is contained in:
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user