Skip to content

Commit 03f1c4e

Browse files
CoolCat467jakkdl
andauthored
Apply suggestions from code review
Co-authored-by: John Litborn <[email protected]>
1 parent 3a320c3 commit 03f1c4e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/trio/_util.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ def open_memory_channel(max_buffer_size: int) -> Tuple[
305305
but at least it becomes possible to write those.
306306
"""
307307

308-
# Explicit "Any" is not allowed
308+
# Explicit .../"Any" is not allowed
309309
def __init__( # type: ignore[misc]
310310
self,
311311
fn: Callable[..., RetT],
@@ -402,10 +402,10 @@ def name_asyncgen(agen: AsyncGeneratorType[object, NoReturn]) -> str:
402402

403403
# work around a pyright error
404404
if TYPE_CHECKING:
405-
# Explicit "Any" is not allowed
405+
# Explicit .../"Any" is not allowed
406406
Fn = TypeVar("Fn", bound=Callable[..., object]) # type: ignore[misc]
407407

408-
# Explicit "Any" is not allowed
408+
# Explicit .../"Any" is not allowed
409409
def wraps( # type: ignore[misc]
410410
wrapped: Callable[..., object],
411411
assigned: Sequence[str] = ...,

0 commit comments

Comments
 (0)