mirror of
https://github.com/python/cpython.git
synced 2026-01-06 23:42:34 +00:00
gh-132307: Remove unnecessary check in asyncio/base_events.py (#132324)
This commit is contained in:
parent
1557da622c
commit
a214db0c54
1 changed files with 1 additions and 2 deletions
|
|
@ -1666,8 +1666,7 @@ async def connect_accepted_socket(
|
|||
raise ValueError(
|
||||
'ssl_shutdown_timeout is only meaningful with ssl')
|
||||
|
||||
if sock is not None:
|
||||
_check_ssl_socket(sock)
|
||||
_check_ssl_socket(sock)
|
||||
|
||||
transport, protocol = await self._create_connection_transport(
|
||||
sock, protocol_factory, ssl, '', server_side=True,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue