We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33f1caa commit 854c5cdCopy full SHA for 854c5cd
src/trio/_threads.py
@@ -146,9 +146,8 @@ class ThreadPlaceholder:
146
147
# Types for the to_thread_run_sync message loop
148
@attrs.frozen(eq=False, slots=False)
149
-# Explicit "Any" is not allowed
+# Explicit .../"Any" is not allowed
150
class Run(Generic[RetT]): # type: ignore[misc]
151
- # Explicit "Any" is not allowed
152
afn: Callable[..., Awaitable[RetT]] # type: ignore[misc]
153
args: tuple[object, ...]
154
context: contextvars.Context = attrs.field(
0 commit comments