mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 21:14:48 +08:00
Fix several mypy errors when run on the 3.11 stdlib (#7389)
This commit is contained in:
@@ -298,7 +298,7 @@ class BaseEventLoop(AbstractEventLoop):
|
||||
self, protocol_factory: Callable[[], _ProtocolT], sock: socket, *, ssl: _SSLContext = ...
|
||||
) -> tuple[BaseTransport, _ProtocolT]: ...
|
||||
if sys.version_info >= (3, 11):
|
||||
async def create_datagram_endpoint(
|
||||
async def create_datagram_endpoint( # type: ignore[override]
|
||||
self,
|
||||
protocol_factory: Callable[[], _ProtocolT],
|
||||
local_addr: tuple[str, int] | None = ...,
|
||||
|
||||
Reference in New Issue
Block a user