Skip to content

Commit 3cffc2a

Browse files
committed
remove unused imports in _base, _loop
1 parent d0bc23e commit 3cffc2a

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

trio_asyncio/_base.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@
1010
import concurrent.futures
1111

1212
from ._handles import ScopedHandle, AsyncHandle
13-
from ._util import run_aio_future, run_aio_generator
14-
from ._deprecate import deprecated, deprecated_alias
15-
from . import _util
13+
from ._util import run_aio_future
1614

1715
from selectors import _BaseSelectorImpl, EVENT_READ, EVENT_WRITE
1816

trio_asyncio/_loop.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import sys
55
import trio
66
import asyncio
7-
import warnings
87
import threading
98
from contextvars import ContextVar
109

@@ -13,9 +12,8 @@
1312
except ImportError:
1413
from async_generator import asynccontextmanager
1514

16-
from ._util import run_aio_future, run_aio_generator
1715
from ._async import TrioEventLoop
18-
from ._deprecate import deprecated, warn_deprecated
16+
from ._deprecate import warn_deprecated
1917

2018
try:
2119
from trio.lowlevel import wait_for_child

0 commit comments

Comments
 (0)