We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 12bb832 commit 17c9fc4Copy full SHA for 17c9fc4
1 file changed
asyncstdlib/asynctools.py
@@ -10,6 +10,7 @@
10
Awaitable,
11
AsyncIterable,
12
Callable,
13
+ Coroutine,
14
Any,
15
overload,
16
Optional,
@@ -76,7 +77,7 @@ async def _aclose_wrapper(self) -> None:
76
77
if hasattr(self, "athrow"):
78
self.athrow = wrapper_iterator.athrow
79
- def aclose(self) -> Awaitable[None]:
80
+ def aclose(self) -> Coroutine[Any, Any, None]:
81
return self._aclose_wrapper()
82
83
0 commit comments