Revert "do not use mypy-specific syntax in '# type: ignore' comments" (#6338)

This commit is contained in:
Akuli
2021-11-18 18:13:07 +00:00
committed by GitHub
parent 0d7064c357
commit 0cd1135219
7 changed files with 207 additions and 207 deletions

View File

@@ -17,7 +17,7 @@ if sys.version_info >= (3, 7):
def buffer_updated(self, nbytes: int) -> None: ...
class DatagramProtocol(BaseProtocol):
def connection_made(self, transport: transports.DatagramTransport) -> None: ... # type: ignore
def connection_made(self, transport: transports.DatagramTransport) -> None: ... # type: ignore[override]
def datagram_received(self, data: bytes, addr: tuple[str, int]) -> None: ...
def error_received(self, exc: Exception) -> None: ...