Skip to content

Commit 806e85e

Browse files
Merge pull request #148
fix type annotation from static checks 597
2 parents 12bb832 + 17c9fc4 commit 806e85e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

asyncstdlib/asynctools.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
Awaitable,
1111
AsyncIterable,
1212
Callable,
13+
Coroutine,
1314
Any,
1415
overload,
1516
Optional,
@@ -76,7 +77,7 @@ async def _aclose_wrapper(self) -> None:
7677
if hasattr(self, "athrow"):
7778
self.athrow = wrapper_iterator.athrow
7879

79-
def aclose(self) -> Awaitable[None]:
80+
def aclose(self) -> Coroutine[Any, Any, None]:
8081
return self._aclose_wrapper()
8182

8283

0 commit comments

Comments
 (0)