File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -263,7 +263,7 @@ class BaseEventLoop(AbstractEventLoop):
263
263
server_hostname : str | None = None ,
264
264
ssl_handshake_timeout : float | None = None ,
265
265
ssl_shutdown_timeout : float | None = None ,
266
- ) -> Transport : ...
266
+ ) -> Transport | None : ...
267
267
async def connect_accepted_socket (
268
268
self ,
269
269
protocol_factory : Callable [[], _ProtocolT ],
@@ -317,7 +317,7 @@ class BaseEventLoop(AbstractEventLoop):
317
317
server_side : bool = False ,
318
318
server_hostname : str | None = None ,
319
319
ssl_handshake_timeout : float | None = None ,
320
- ) -> Transport : ...
320
+ ) -> Transport | None : ...
321
321
async def connect_accepted_socket (
322
322
self ,
323
323
protocol_factory : Callable [[], _ProtocolT ],
Original file line number Diff line number Diff line change @@ -358,7 +358,7 @@ class AbstractEventLoop:
358
358
server_hostname : str | None = None ,
359
359
ssl_handshake_timeout : float | None = None ,
360
360
ssl_shutdown_timeout : float | None = None ,
361
- ) -> Transport : ...
361
+ ) -> Transport | None : ...
362
362
async def create_unix_server (
363
363
self ,
364
364
protocol_factory : _ProtocolFactory ,
@@ -418,7 +418,7 @@ class AbstractEventLoop:
418
418
server_side : bool = False ,
419
419
server_hostname : str | None = None ,
420
420
ssl_handshake_timeout : float | None = None ,
421
- ) -> Transport : ...
421
+ ) -> Transport | None : ...
422
422
async def create_unix_server (
423
423
self ,
424
424
protocol_factory : _ProtocolFactory ,
You can’t perform that action at this time.
0 commit comments