We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2150f5 commit 39cf394Copy full SHA for 39cf394
src/anyio/abc/__init__.py
@@ -1,7 +1,5 @@
1
from __future__ import annotations
2
3
-from typing import Any
4
-
5
from ._eventloop import AsyncBackend as AsyncBackend
6
from ._resources import AsyncResource as AsyncResource
7
from ._sockets import ConnectedUDPSocket as ConnectedUDPSocket
@@ -50,8 +48,8 @@
50
48
from ..from_thread import BlockingPortal as BlockingPortal
51
49
52
# Re-export imports so they look like they live directly in this package
53
-key: str
54
-value: Any
55
-for key, value in list(locals().items()):
56
- if getattr(value, "__module__", "").startswith("anyio.abc."):
57
- value.__module__ = __name__
+for __value in list(locals().values()):
+ if getattr(__value, "__module__", "").startswith("anyio.abc."):
+ __value.__module__ = __name__
+
+del __value
0 commit comments