mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
asyncio: pyflakes, remove unused import
tests: Remove unused function; inline another function
This commit is contained in:
parent
cd0f7f9832
commit
442b0adccd
3 changed files with 2 additions and 11 deletions
|
|
@ -636,7 +636,7 @@ class BaseEventLoop(events.AbstractEventLoop):
|
|||
|
||||
try:
|
||||
yield from waiter
|
||||
except Exception as exc:
|
||||
except Exception:
|
||||
transport.close()
|
||||
raise
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@ import collections
|
|||
import errno
|
||||
import functools
|
||||
import socket
|
||||
import sys
|
||||
try:
|
||||
import ssl
|
||||
except ImportError: # pragma: no cover
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue