Use lowercase tuple where possible (#6170)

This commit is contained in:
Akuli authored and GitHub committed 2021-10-14 17:18:19 -07:00
1 parent 5f386b0575
commit 994b69ef8f
242 files changed
+1212 -1224

No files matched your search

+1 -2
View File
@@ -1,6 +1,5 @@
import sys
from asyncio import transports
from typing import Tuple
class BaseProtocol:
def connection_made(self, transport: transports.BaseTransport) -> None: ...
@@ -19,7 +18,7 @@ if sys.version_info >= (3, 7):
class DatagramProtocol(BaseProtocol):
def connection_made(self, transport: transports.DatagramTransport) -> None: ... # type: ignore
def datagram_received(self, data: bytes, addr: Tuple[str, int]) -> None: ...
def datagram_received(self, data: bytes, addr: tuple[str, int]) -> None: ...
def error_received(self, exc: Exception) -> None: ...
class SubprocessProtocol(BaseProtocol):